logging-log4cxx-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Torsten Wiebesiek" <torsten.wiebes...@grecon.de>
Subject Retrieve logger hierarchy
Date Thu, 14 Jun 2007 10:24:54 GMT

I'd like to change the logging behavior of my program at runtime.
Therefore, I'd like to visualize the current logger hierarchy. Can
someone tell me, how to access the logger hierarchy?

The log4cxx::Hierarchy::getCurrentLoggers() function should help, but
how can I get the hierarchy object corresponding to the current logger
hierarchy? With log4cxx::Logger::getLoggerRepository(), I can only
access the repository, not the derived hiearchy.



View raw message