You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@logging.apache.org by "TroudhuK (via GitHub)" <gi...@apache.org> on 2023/07/17 08:31:02 UTC
[GitHub] [logging-log4cxx] TroudhuK opened a new issue, #233: Ability to remove a HierarchyEventListener?
TroudhuK opened a new issue, #233:
URL: https://github.com/apache/logging-log4cxx/issues/233
Hierarchy::addHierarchyEventListener allows to register a listener to intercept the appenders additions to a logger.
But there is no way to remove a listener, for example because its lifetime isn't the same as the logger (when we do it to Logger::getRootLogger()->getLoggerRepository()). True, or do I miss something?
If true, I'd like to have a Hierarchy::removeHierarchyEventListener.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [logging-log4cxx] rm5248 commented on issue #233: Ability to remove a HierarchyEventListener?
Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 commented on issue #233:
URL: https://github.com/apache/logging-log4cxx/issues/233#issuecomment-1639020852
It looks like this was never added, since it is not part of the Log4j1 API. It seems reasonable to add though.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [logging-log4cxx] rm5248 commented on issue #233: Ability to remove a HierarchyEventListener?
Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 commented on issue #233:
URL: https://github.com/apache/logging-log4cxx/issues/233#issuecomment-1655706465
fixed in #234
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [logging-log4cxx] rm5248 closed issue #233: Ability to remove a HierarchyEventListener?
Posted by "rm5248 (via GitHub)" <gi...@apache.org>.
rm5248 closed issue #233: Ability to remove a HierarchyEventListener?
URL: https://github.com/apache/logging-log4cxx/issues/233
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@logging.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org