Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steinar Bang
> Steinar Bang : > Steven Huypens : >> Hi Steinar, >> I am not using any scopes indeed, nor any explicit logging configuration. I >> just realized though, we sometimes see the stacktrace below in our >> integration tests, maybe it is related to your problem. It doesn't happen a >> lot, so I

Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steinar Bang
> Steven Huypens : > Hi Steinar, > I am not using any scopes indeed, nor any explicit logging configuration. I > just realized though, we sometimes see the stacktrace below in our > integration tests, maybe it is related to your problem. It doesn't happen a > lot, so I did not have a closer lo

Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steinar Bang
> Steinar Bang : > PS Do you do any explicit logging configuration inside the bundle, in > addition the above code? Specifically: Do you create a LogService > Java object that is not JavaLogServic, inside the bundle? For my own part, I see that in December 2020 I introduced a src/test/resour

Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steven Huypens
Hi Steinar, I am not using any scopes indeed, nor any explicit logging configuration. I just realized though, we sometimes see the stacktrace below in our integration tests, maybe it is related to your problem. It doesn't happen a lot, so I did not have a closer look yet. EventDispatcher: Error d

Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steinar Bang
> Steven Huypens : > Hi Steinar, > Some pseudo-code : Thanks! It immediately answers one of my questions, which was what resourceaccessor you use, and you use the OsgiResourceAccessor. Back in 2017 I landed on the ClassLoaderResourceAccessor, based on the class using the and it has worked a

Re: Problems with logging to karaf.log from liquibase >3

2022-08-05 Thread Steven Huypens
Hi Steinar, Some pseudo-code : JdbcConnection connection = new JdbcConnection(myConnection); Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(connection); ChangeLogParameters changeLogParameters = new ChangeLogParameters(database); String liquibaseFilePath = "O