How to suppress the UPDATE SUMMARY?

We’re currently running Liquibase 4.23.1 inside multiple Spring Boot applications.

At some point, an UPDATE SUMMARY showed up twice in the application output - once correcly using a logger (liquibase.util.ShowSummaryUtil) and once using System.out directly to the console.

We don’t allow any non-logger output, so we want to disable console printing, but unfortunatly we didn’t find out how to accomplish this.

Could you tell us how to remove this from the console?

1 Like

Sorry for the “me too”, have you found any solution or workaround for this? I’m facing the same issue.

 --show-summary=PARAM   Type of update results summary to show.  Values can be 'off', 'summary', or 'verbose'.
                             DEFAULT: SUMMARY
                             (defaults file: 'liquibase.command.showSummary' OR 'liquibase.command.update.showSummary' , environment variable: 'LIQUIBASE_COMMAND_SHOW_SUMMARY' OR 'LIQUIBASE_COMMAND_UPDATE_SHOW_SUMMARY')

Use the value of off.

That’s new in 4.24+, I see, as is show-summary-output. But I’m still getting this line on the console:

Database is up to date, no changesets to execute

with show-summary-output set to log, and even if show-summary is set to off.

Please create a Github issue with all the console output that is problematic. I’ll follow up on it then.

Thanks,
Wesley

Issue #5892 created. Thanks!