[jboss-user] [Beginners Corner] - Re: To use Log4j in .SAR

hsaha do-not-reply at jboss.com
Thu Jan 3 07:17:42 EST 2008


I hope your classes in the sar file has specific package names. If that is the case you can add a category in conf/log4j.xml file as below:

  | <category name="your_package_name" additivity="false">
  |     <priority value="INFO"/>
  | </category>
  | 

This is the easiest you could do .. Do you have any other special requirements?


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

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



More information about the jboss-user mailing list