>>>>> Steinar Bang <[email protected]>:

> 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/resources/logback.xml file in all projects where I used
liquibase in the unit tests, to limit the log noise when doing "mvn
clean install", with the following content:

<configuration>
    <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
        <encoder>
            <pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - 
%msg%n</pattern>
        </encoder>
    </appender>
    <logger name="liquibase" level="error"/>
    <root level="debug">
        <appender-ref ref="STDOUT" />
    </root>
</configuration>

But I have no log configuration for runtime.  There I let karaf provide
whatever it provides.

Reply via email to