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

logback-classic LogbackServletContainerInitializer class initialize logger context before setting logback.configurationFile

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.10, 1.2.0, 1.2.2, 1.1.11, 1.2.3
    • Fix Version/s: None
    • Component/s: logback-classic
    • Labels:

      Description

      In logback-classic in version later than 1.1.9, an enhancement was implemented according to issue LOGBACK-1170 that in web-applications it automatically install a listener. and during this installation it initialize a logger context while the logback.configurationFile property is not set yet. Since logger context is single tone we can not reinitialize it again. There should be some way to set this property before initialization.

        Attachments

          Activity

            People

            • Assignee:
              logback-dev Logback dev list
              Reporter:
              p.khaleghi pegah
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: