Monday, March 19, 2012

Jboss Logger

If you want to add a new category to your Jboss Log4j logger, you need to define a log variable in your code like:

>LogFactory.getLog("application-name");

and you should add a new category in jboss-log4j.xml file like:






and may be you can define a appender for log management :









No comments: