[ 
https://issues.apache.org/jira/browse/LOG4J2-2406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16866207#comment-16866207
 ] 

ASF subversion and git services commented on LOG4J2-2406:
---------------------------------------------------------

Commit c334026e4f4274f3db649a05dbfa099f01cd47e4 in logging-log4j2's branch 
refs/heads/master from Ralph Goers
[ https://gitbox.apache.org/repos/asf?p=logging-log4j2.git;h=c334026 ]

LOG4J2-2406 - Add reconfiguration methods to Configurator


> 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
>
> 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