[logback-dev] [JIRA] (LOGBACK-1368) logback-classic LogbackServletContainerInitializer class initialize logger context before setting logback.configurationFile
QOS.CH (JIRA)
noreply-jira at qos.ch
Mon Jan 8 08:36:00 CET 2018
pegah created LOGBACK-1368:
------------------------------
Summary: logback-classic LogbackServletContainerInitializer class initialize logger context before setting logback.configurationFile
Key: LOGBACK-1368
URL: https://jira.qos.ch/browse/LOGBACK-1368
Project: logback
Issue Type: Bug
Components: logback-classic
Affects Versions: 1.2.3, 1.1.11, 1.2.2, 1.2.0, 1.1.10
Reporter: pegah
Assignee: Logback dev list
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.
--
This message was sent by Atlassian JIRA
(v7.3.1#73012)
More information about the logback-dev
mailing list