[
https://issues.apache.org/jira/browse/LOG4J2-1206?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Matt Sicker updated LOG4J2-1206:
--------------------------------
Attachment:
LOG4J2_1206___org_apache_logging_log4j_core_LoggerContext_updateLoggers_should_call_firePr.patch
Do you mean like in this patch? Although if you want the configuration that was
set on each logger, I could do that, too, but it'll generate like a zillion
more events that way (depending on how many loggers are in a context which can
get rather large).
> org.apache.logging.log4j.core.LoggerContext#updateLoggers should call
> firePropertyChangeEvent
> ---------------------------------------------------------------------------------------------
>
> Key: LOG4J2-1206
> URL: https://issues.apache.org/jira/browse/LOG4J2-1206
> Project: Log4j 2
> Issue Type: Wish
> Components: Core, JMX
> Affects Versions: 2.1
> Environment: All
> Reporter: Rodrigo Merino
> Labels: features
> Attachments:
> LOG4J2_1206___org_apache_logging_log4j_core_LoggerContext_updateLoggers_should_call_firePr.patch
>
>
> Currently, only notifications for whole config changes are being fired (in
> org.apache.logging.log4j.core.LoggerContext#setConfiguration), but since
> particular loggers are allowed to be changed (i.e.: through JMX, which calls
> org.apache.logging.log4j.core.LoggerContext#updateLoggers), there should be a
> way to be notified about those changes too.
> The fired event should ideally contain specific information about what
> logger(s) changed and what change it was.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]