[ 
https://issues.apache.org/jira/browse/LOG4J2-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ralph Goers resolved LOG4J2-2406.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 2.12.0

Methods have been added to Configurator. Please verify and close.

> Make it easier to swtich log4j configuration files
> --------------------------------------------------
>
>                 Key: LOG4J2-2406
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-2406
>             Project: Log4j 2
>          Issue Type: Improvement
>            Reporter: John Lussmyer
>            Assignee: Ralph Goers
>            Priority: Minor
>             Fix For: 2.12.0
>
>
> Our app needs to have log4j switch to a different xml configuration after 
> application startup.
> The code currently does:
> ((org.apache.logging.log4j.core.LoggerContext) 
> LogManager.getContext(false)).reconfigure();
> [[email protected]] suggested
> That could certainly be added to the Configurator class as 
> Configurator.reconfigure();



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to