-
Notifications
You must be signed in to change notification settings - Fork 41.7k
Closed
Description
This issue is the same as #3470: liquibase doesn't use logging configuration -- it prints INFO messages when I want to see only warnings and its messages have a different format.
Steps to reproduce
$ git clone https://github.com/php-coder/mystamps.git
$ cd mystamps
$ git checkout b2f1c612d9eba7a957edc602c3431de848fd55e1
$ mvn clean spring-boot:runObservable behavior
...
[2016-08-21 12:36:50.686] boot - 3174 INFO [main] --- RequestMappingHandlerAdapter: Looking for @ControllerAdvice: org.springframework.boot.context.embedded.AnnotationConfigEmbeddedWebApplicationContext@63dde5e5: startup date [Mon Aug 21 12:36:46 CEST 2016]; root of context hierarchy
INFO 8/21/16 12:36 PM: liquibase: Successfully acquired change log lock
INFO 8/21/16 12:36 PM: liquibase: Creating database history table with name: PUBLIC.DATABASECHANGELOG
INFO 8/21/16 12:36 PM: liquibase: Reading from PUBLIC.DATABASECHANGELOG
...
INFO 8/21/16 12:36 PM: liquibase: Successfully released change log lock
[2016-08-21 12:36:53.115] boot - 3174 INFO [main] --- application: Initializing Spring FrameworkServlet 'dispatcherServlet'
...
Expected behavior
I shouldn't see all of these messages from Liquibase because I'm interesting only in warnings:
$ grep liquibase src/main/resources/application-test.properties
liquibase.contexts: scheme, init-data, test-data
liquibase.change-log: classpath:/liquibase/changelog.xml
logging.level.liquibase: WARNWorkaround
Also I found out that it was working in Spring Boot 1.3.0.RELEASE but broken since 1.3.1.RELEASE. To test it you can downgrade the version and test that it works:
sed -i 's|1.3.7.RELEASE|1.3.0.RELEASE|;s|9.2.18.v20160721|9.2.11.v20150529|' pom.xmlLet me know if you need more information.
Metadata
Metadata
Assignees
Labels
type: bugA general bugA general bug