[jboss-user] [JBoss Seam] - Re: SEAM Logger issue
wayofdragonster
do-not-reply at jboss.com
Mon Dec 3 12:35:30 EST 2007
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#4109948
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109948
More information about the jboss-user
mailing list