ui-service
--ui-service
is a global parameter that specifies the default UI service logger used by Liquibase. Valid values are CONSOLE
and LOGGER
. The default value is CONSOLE
. This parameter is available in Liquibase 4.25.0 and later.
Uses
If you set --ui-service
to CONSOLE
, Liquibase sends output messages to the console (STDOUT
) by default.
However, you may want Liquibase to send output messages to the log by default, such as a third-party logging tool like Log4j or Spring Boot's service logger. To allow this, set --ui-service
to LOGGER
.
Syntax
You can set this parameter in the following ways:
Option | Syntax |
---|---|
Liquibase properties file (defaults file) |
|
Global flow file argument (example) |
|
Global CLI parameter |
|
JVM system property (JAVA_OPTS Environment Variable) |
|
Liquibase Environment Variables |
|
For more information, see Working with Command Parameters.