I am trying to get the list of jboss loggers programmatically through the LogManager API. Here is what I do
Enumeration<String> e = LogManager.getLogManager().getLoggerNames();
The result is always empty, though I have created few loggers. I was trying to look at the source code and it looks like the getLoggerNames() function is overriden in jboss LogManager which extends from java.util.logging.LogManager. The overriden function returns an empty enumeration always.
Is there any other way we can get the list of jboss loggers programmatically ?
I forgot to mention that I am using Jboss 6 milestone 5 release