[jboss-user] [Beginners Corner] - Re: Logs not appearing

PeterJ do-not-reply at jboss.com
Thu Jul 10 23:05:29 EDT 2008


First, don't use the root logger. Instead, get a logger for your class, like this (using commons logging):

private Log log = LogFactory.getLog(XXX.class);

then in your jboss-log4j.xml, add:

<category name="your.package.name">
  |   <priority value="DEBUG"/>
  | </category>

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

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



More information about the jboss-user mailing list