logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jacob Kjome" <h...@visi.com>
Subject Re: log4j
Date Wed, 07 Jul 2010 14:58:10 GMT

Where did you put log4j.properties?  For Tomcat 5.5.xx, it should be in 
CATALINA_HOME/common/classes.

Try adding the following to CATALINA_OPTS....

-Dlog4j.debug=true

Jake

On Wed, 7 Jul 2010 11:58:23 +0530
  Kaushal Shriyan <kaushalshriyan@gmail.com> wrote:
> Hi,
> 
> I am running tomcat server apache-tomcat-5.5.27. I have set the below
> parameters in log4j.properties
> 
> log4j.rootLogger=INFO, R
> log4j.appender.R=org.apache.log4j.ISTDailyRollingFileAppender
> log4j.appender.R.File=${catalina.home}/logs/catalina.out
> log4j.appender.R.DatePattern='.'yyyy-MM-dd
> log4j.appender.R.layout=org.apache.log4j.PatternLayout
> 
> ist-appender.jar,log4j-1.2.15.jar and commons-logging-1.1.1.jar under
> common/lib directory.
> 
> The above settings didnot worked. is there a way to know why it didnot 
>worked
> 
> Please suggest/guide
> 
> Thanks
> 
> Kaushal
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
>For additional commands, e-mail: log4j-user-help@logging.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org


Mime
View raw message