Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-338

ConfigurationWatchList produces a warinig a correct configuration

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 0.9.28
    • logback-classic
    • None

    Description

      I get the following warning for included files:

      12:09:40,657 |-WARN in ch.qos.logback.core.joran.util.ConfigurationWatchListUtil@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.

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            mfranz@intershop.de Michael Franz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: