[logback-dev] [JIRA] Created: (LBCLASSIC-247) ConfigurationWatchList produces a warinig a correct configuration

Michael Franz (JIRA) noreply-jira at qos.ch
Fri Jan 28 12:25:51 CET 2011


ConfigurationWatchList produces a warinig a correct configuration
-----------------------------------------------------------------

                 Key: LBCLASSIC-247
                 URL: http://jira.qos.ch/browse/LBCLASSIC-247
             Project: logback-classic
          Issue Type: Bug
          Components: joran
    Affects Versions: 0.9.28
            Reporter: Michael Franz
            Assignee: Logback dev list


I get the following warning for included files:

12:09:40,657 |-WARN in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil at 7c959fa1 - Null ConfigurationWatchList. Cannot add file:/D:/dev/.../logback-lilith.xml

Scanning is off.
I configure logback in the following way:

            JoranConfigurator configurator = new JoranConfigurator();
            configurator.setContext(loggerContext);
            loggerContext.reset();
            configurator.doConfigure(new ByteArrayInputStream(config.getBytes("UTF-8")));

The generated main configuration (variable config) contains mainly includes to files within the file system.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the logback-dev mailing list