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

Use of include and scan attribute on

    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. appLogbackConfig.png
          74 kB
          Jonathan Barbero
        2. logback_xml.png
          71 kB
          Jonathan Barbero

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: