Hi,
having a logback.xml on classpath, using <include resource="otherfile.xml"/> element, logback always warns about:
17:11:20,313 |-WARN in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@1dd6d4b7 - Null ConfigurationWatchList. Cannot add file:/C:/dev/projectName/target/classes/_logback-monitor.inc.xml
There are no other warnings, and there is no way to avoid/workaround this warning.
Tried with , but that does not work (and makes no sense, right) with resources from classpath.
The included file is existing and loaded and the logging context is working as expected. There is no reason for logback showing anything in StatusPrinter2.printInCaseOfErrorsOrWarnings().
The expected behaviour is: show no WARN at all.
Can you suppress this warning above, or make it conditional showing only if warching is enabled at all?
Hi,
having a
logback.xmlon classpath, using<include resource="otherfile.xml"/>element, logback always warns about:17:11:20,313 |-WARN in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@1dd6d4b7 - Null ConfigurationWatchList. Cannot add file:/C:/dev/projectName/target/classes/_logback-monitor.inc.xmlThere are no other warnings, and there is no way to avoid/workaround this warning.
Tried with , but that does not work (and makes no sense, right) with resources from classpath.
The included file is existing and loaded and the logging context is working as expected. There is no reason for logback showing anything in
StatusPrinter2.printInCaseOfErrorsOrWarnings().The expected behaviour is: show no WARN at all.
Can you suppress this warning above, or make it conditional showing only if warching is enabled at all?