I recall searching the mail archives and finding 2 or 3 threads for retrieving all loggers in a JVM (equivalent of LogManager.getCurrentLoggers), but I could not find these threads any more. It looks like there is no direct convenient API to achieve that. Is this changed lately? Can somebody post code snippet of the preferred way of doing that in log4j 2? Thanks
http://mail-archives.apache.org/mod_mbox/logging-log4j-user/ -- Michael