>>>>> Steven Huypens <[email protected]>:

> Hi Steinar,
> I tried the liquibase-karaf-feature/use-liquibase-slf4j-410 branch. After
> changing the liquibase version to 4.9.1 in the pom.xml, the build is
> successful.

Yes, but if you take a look at
 
liquibase-karaf-feature/liquibase-integration-test/karaf.liquibase.tests/target/exam/<somehash>/log/karaf.log
you will see a stacktrace in the log, caused by "Cannot find default log
service" and no liquibase logging from setting up the schema and
populating it with data.
 https://gist.github.com/steinarb/2857d60427d42686299b1d9a388ee420

But if you switch to the master branch and change liquibase.version in
.m2/settings.xml back to 3.8.0 and re-run "mvn clean install" you will
find a 
 
liquibase-karaf-feature/liquibase-integration-test/karaf.liquibase.tests/target/exam/<somehash>/log/karaf.log
that doesn't have the "Cannot find default log service" error, and
contains the log output from liquibase
 https://gist.github.com/steinarb/d5902ae12bdcc1f96bd66eaf45f9311b

This is the behaviour that has eluded me in all liquibase versions since
3.8.0(*), and the reason I haven't updated the liquibase version of the
feature.

But I've not given up yet! :-)

(*) in 3.x versions >3.8.0 because of various OSGi and JDK 8 vs 11
    related problems, and in 4.x because the log system has changed and
    I haven't been able to make the liquibase logging work right with
    karaf 

Reply via email to