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

Gary Gregory commented on LOG4J2-979:
-------------------------------------

Does {{ConfigurationListener}} work for you? If so, please tell us here and 
close this issue.

If you feel we need more Javadoc and site docs. Please feel free to submit a 
patch.

Thank you,
Gary

> Configuration Reload Callback
> -----------------------------
>
>                 Key: LOG4J2-979
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-979
>             Project: Log4j 2
>          Issue Type: Wish
>          Components: Configurators
>    Affects Versions: 2.2
>            Reporter: Dave Ariens
>            Priority: Minor
>
> I am curently using io.dropwizard.metrics for instrumenting log4j2 which 
> allows me to trend WARN and higher logs as they are generated within my 
> log4j2 enabled applications configured with of monitorInterval="30".
> https://dropwizard.github.io/metrics/3.1.0/manual/log4j/
> When troubleshooting we modify the root log level in our log4j2 xml 
> configuration accordingly and look for issues.  This however doesn't take 
> effect on the downstream trending and log graphs.
> Ideally, I would like to register a callback for when log4j2 reloads it's 
> configuration so I can react accordingly.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to