We used Apache commons logging API for logging (debug,error etc methods), and we had used log4j implementation.
we used LogManager.getCurrentLoggers()
from log4j to get all the loggers.
Now we deployed our application in jboss wildfly which uses different logging implementation (Jboss logging) so our code is not working since all our loggers now are from Jboss.
Now either i have to find alternate equivalent of LogManager.getCurrentLoggers()
in Jboss or exclude logging subsystem in jboss-deployment-structure.xml.
is there any way to get listofloggers through common logging api? so that my code always works irrespective of the logging implementations?