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

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

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • 1.1.10, 1.2.0, 1.2.2, 1.1.11, 1.2.3
    • logback-classic

    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

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

            Dates

              Created:
              Updated: