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

ConfigurationWatchList produces a warinig a correct configuration

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.28
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: