[jboss-user] [Installation, Configuration & DEPLOYMENT] - Custom Logger in JBoss
do-not-reply at jboss.com
Thu Nov 1 11:23:17 EDT 2007
I am using JBoss 4.0.X, I am having three ears deployed in JBoss. I am using a custom Logger say ABCLogger which extends Log4j, and I have bundled all these classes within xjz.jar file. I am having a copy of this xyz.jar file in all the three ears and logging the events by getting the logger from ABCLogger class. I have a seperate log4j.xml file for each of this ears. Like within the conf folder in the default directory of JBoss I have created three folders such as ear1, ear2 and ear2. All these folders have a log4j.xml file that is specific to the ear file. I have a single file appender and a custom exception appender for each ear file. But I am not able to see three seperate log files. When ever I call the the ABCLogger.getLogger() I am initializing the Logger to the corresponding log4j.xml file of the ear?? Can any one tell me why I am not able to get the log files??
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100952#4100952
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4100952
More information about the jboss-user