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

Use of include, scan attribute on and enviroment variables miss enviroment data on reload

    XMLWordPrintable

Details

    Description

      I have an web-app that has logback.xml inside the WAR.
      This xml configures the context name, gets some enviroment variables and then includes another file with the logging loggers and appenders.
      When I modify the included config logback stops logging. Neither reloads the modified file, I guess.

      Logback is prepared to watch not only the main config file, also the included files.

      Attachments

        1. SimpleWeb.7z
          1.51 MB
        2. logback.properties
          0.1 kB
        3. appLogbackConf.xml
          1 kB

        Activity

          People

            logback-dev Logback dev list
            jbarbero Jonathan Barbero
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: