I spoke a bit too soon. trace.log() statements from org.apache.commons.logging.Log objects show up, even if you set the log level to DEBUG. This means I can't use them.... Does anyone know how to get trace() to work correctly?
Since JBoss is using Log4J for logging, org.apache.commons.logging.Log will use Log4J for logging too.
But Log4J defines priority (logging) levels : FATAL, ERROR, WARN, INFO, DEBUG.
While commons.logging defines logging levels: fatal, error, warn, info, debug, trace.
So the trace level is mapped to DEBUG.
Thanks. I knew log4j has DEBUG but not TRACE levels. I was hoping commons-logging provided some way to implement a TRACE level separate from the DEBUG level, but I guess it doesn't. Oh well.