logLevel
parameter
The logLevel
parameter controls the amount of messages that are generated when running Liquibase commands. The logLevel
can be set to the following values:
- off
- severe
- warning
- info
- debug
The logLevel
default value is severe
.
Uses
The logLevel
parameter applies to all Liquibase commands. It can be used to get more information about the actions that Liquibase commands perform, as well as provide helpful information to resolve errors.
The default value of severe
provides messages regarding serious errors. You may find it useful to set the logLevel
to info
to see a more complete list of the operations that a command performs. Use the debug
level to help resolve errors.
Using the logLevel
parameter
The logLevel
is an optional parameter which can be set in the liquibase.properties
file or specified on the command line. The logLevel
specified on the command line will over-ride the value set in the liquibase.properties
file.
Examples:
liquibase --logLevel=debug update
liquibase --logLevel=info updateTestingRollback