Skip to main content

Controlling Database Migrator Logging

By default, the database migrator logs processing of individual components, assets, and content repository records at a TRACE level, which means they will not typically appear in logs.

Items that are skipped or encounter an error during processing will still appear in the logs.

You can modify logging levels using one of the following methods:

  • Create an application.properties file in the folder from which you are running the database migrator. Add a line like the following:

    logging.level.com.sonatype=TRACE

  • Pass an argument to the database migrator using a command like the following:

    --logging.level.com.sonatype=TRACE