My understanding is that you can configure your log4j settings in log4j.properties under
(myapp)/WEB-INF/classes and then jboss 4.2.1 would automatically read it. Is this
incorrect? Do I have to do something special in jboss-log4j.xml to make it load
log4j.properties in my app?
Here is my log4j.properties file:
log4j.rootLogger=CONSOLE,FILE,genesisOut
log4j.logger.com.genesis=DEBUG
log4j.appender.genesisOut=org.apache.log4j.DailyRollingFileAppender
log4j.appender.genesisOut.DatePattern='.'yyyy-MM-dd
log4j.appender.genesisOut.File=C:\programs\jboss-4.2.1.GA\server\default\log\genesis.log
log4j.appender.genesisOut.layout=org.apache.log4j.PatternLayout
log4j.appender.genesisOut.layout.ConversionPattern=%1p %d{MMM-dd HH:mm:ss,SSS} %x %m
[%t](%c{3})%n
What am I doing wrong? I still don't see anything in server.log nor is genesis.log
being generated.
Paul
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109948#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...