This content has been marked as final.
Show 2 replies
-
1. Re: Logging in JBoss
peterj Oct 22, 2009 11:46 AM (in response to rohit.macherla)Use commons logging http://commons.apache.org/logging/
Your logger would then be declared as:private static final org.apache.commons.logging.Log logger = org.apache.commons.logging.LogFactory.getLog(ErrorBase.class);
Commons logging will use Log4J is the JAR file is present, and java.util is not. -
2. Re: Logging in JBoss
rohit.macherla Oct 23, 2009 8:09 AM (in response to rohit.macherla)Hi Peter,
Thanks for the suggestion. I will go ahead with the commons-logging.