[prev in list] [next in list] [prev in thread] [next in thread]
List: log4j-user
Subject: Re: Configuring Tomcat application's logging
From: Jacob Kjome <hoju () visi ! com>
Date: 2008-07-19 17:59:05
Message-ID: 488239BF.6030506 () visi ! com
[Download RAW message or body]
Are you trying to use Log4j for Tomcat's logging, your own application's logging,
or both? Where did you put log4.jar?
Jake
V Jayakumar wrote:
> 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/abc \
> d.loglog4j.appender.R.MaxFileSize=10MBlog4j.appender.R.MaxBackupIndex=10log4j.append \
> er.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
>
> _________________________________________________________________
> Use video conversation to talk face-to-face with Windows Live Messenger.
> http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_Refresh_messenger_video_072008
>
---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic