Hello
       i have configured log4j for system logging in
Tomcat5.5 .Als othe log is rotating..
Now iwant to configure my individual web-apps using
log4j
i have copied log4j.jar and common-logging.jar and the
Date-File-appender.jar files in the web-apps lib
directory and also created log4j.properties file in
the webapps classes directory..
how do i configure this log4j.properties?
i used the following configuration, but nothing is
being logged by my webapp..

log4j.rootLogger=DEBUG,S
log4j.appender.S=biz.minaret.log4j.DatedFileAppender
log4j.appender.S.layout=org.apache.log4j.PatternLayout
log4j.appender.S.layout.ConversionPattern=%d [%t] %-5p
%c - %m%n

log4j.appender.S.Directory=/usr/share/tomcat5.5.25/webapps/sample/logs

log4j.appender.S.Prefix=sample.

# Suffix: The log file name suffix.
log4j.appender.S.Suffix=.log

Is some thing wrong in this?
Thanks
nEha


      Why delete messages? Unlimited storage is just a click away. Go to 
http://help.yahoo.com/l/in/yahoo/mail/yahoomail/tools/tools-08.html

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to