16 Jul 09:28
Configuring Tomcat application's logging
From: V Jayakumar <vjk <at> hotmail.com>
Subject: Configuring Tomcat application's logging
Newsgroups: gmane.comp.jakarta.log4j.user
Date: 2008-07-16 07:29:15 GMT
Subject: Configuring Tomcat application's logging
Newsgroups: gmane.comp.jakarta.log4j.user
Date: 2008-07-16 07:29:15 GMT
Hello OS : Linux + Tomcat 5.5 Logs from my application deployed in Tomcat being written to catalina.out with logging level as DEBUG I want to change the logging level for my application to ERROR Created a directory as: /home/tomcat/webapps/appName/WEB-INF/classes Had created a log4j.properties /home/tomcat/webapps/appName/WEB-INF/classes/log4j.properties log4j.rootLogger=ERROR, Rlog4j.appender.R=org.apache.log4j.RollingFileAppenderlog4j.appender.R.File=/tmp/abcd.loglog4j.appender.R.MaxFileSize=10MBlog4j.appender.R.MaxBackupIndex=10log4j.appender.R.layout=org.apache.log4j.PatternLayoutlog4j.appender.R.layout.ConversionPattern=%p %t %c - %m%n Restarted tomcat. Still, my new changes are not considered and logs from my application is being sent to catalina.out & even DEBUG messages are being logged. Could someone let me know, how to configure the logging properties for my application in tomcat, please ? Thanks _________________________________________________________________(Continue reading)
RSS Feed