3 Replies Latest reply on Jul 29, 2004 7:35 PM by Dave Kohr

    how to make log.trace() work inside MBeans

    Dave Kohr Newbie

      I'm using JBoss 3.2.3 and JDK 1.4.

      For logging, I'm using org.apache.commons.logging.Log (in everything except MBeans) and org.jboss.logging.Logger (only in my MBeans--they use the inherited log field).

      It seems as though log.trace() statements from org.apache.commons.logging.Log objects do show up as expected if and only if you set the logging threshold to "ALL" ("TRACE" works too) in the config file server/default/conf/log4j.xml. The log entries are marked as "DEBUG" level logging, but I can live with that. I think this is because log4j (the underlying log system) supports DEBUG but not TRACE level.

      However, I can't get the log.trace() statements from my MBeans to show up, no matter what config I use. Does anyone know what I need to do to make these show up? Thanks.