[jboss-user] [JBoss Seam] - trace level logging on Jboss AS

matt.drees do-not-reply at jboss.com
Tue Apr 24 21:24:31 EDT 2007


>From looking at the Log4JProvider class, it looks like log.trace simply does a log.debug call (log4j doesn't have trace).  I'd like to be able to differentiate between trace and debug, but I don't see an easy way to do that.  If I could override Log4JProvider, I could have "trace" do something besides log.debug, but it doesn't look like we can plug in our own LogProviders.  

If it isn't too much work, could we be given control of which LogProvider Seam uses?  I imagine it'd be hard to make it a component, because logging needs to be available before components are loaded; but there is probably another way.

If that isn't going to happen, can anyone suggest a workaround to enable trace logging?

Thanks!

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4040404#4040404

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4040404



More information about the jboss-user mailing list