commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Igor Smirnov" <i...@prozone.co.yu>
Subject Re: [logging] How to get logging to use new Monolog subclass
Date Tue, 11 May 2004 08:15:40 GMT
Thank you!

----- Original Message -----
From: "José Antonio Pérez Testa" <japtesta@indra.es>
To: "Jakarta Commons Users List" <commons-user@jakarta.apache.org>
Sent: Monday, May 10, 2004 6:14 PM
Subject: Re: [logging] How to get logging to use new Monolog subclass


> I'm using jakarta-tomcat-4.1.12-LE with java j2sdk1.4.1_02
> In my WEB_INF/lib : (maybe some of the libraries are innecesary ... )
>
>     commons-collections-2.0.jar
>     commons-logging-1.0.jar
>     servletapi-2.3.jar
>     xalan.jar
>     log4j.jar
>     xerces.jar
>     xml-apis-2.0.0.jar
>
> in my WEB-INF/classes/log4j.properties
>
>     logs_path=/tmp/logs
>
>     log4j.rootCategory=debug,Raiz,stdout
>
>     log4j.appender.stdout=org.apache.log4j.ConsoleAppender
>     log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
>     log4j.appender.stdout.layout.ConversionPattern=%d [%5p %c] Console-
%m%n
>
>     log4j.appender.Raiz=org.apache.log4j.RollingFileAppender
>     log4j.appender.Raiz.File=${logs_path}/logFile.log
>     log4j.appender.Raiz.layout=org.apache.log4j.PatternLayout
>     log4j.appender.Raiz.MaxBackupIndex=1
>     log4j.appender.Raiz.MaxFileSize=100MB
>     log4j.appender.Raiz.layout.ConversionPattern=%t %d  [%5p %c] - %m%n
>
> and that's all friends!!
>
>


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


Mime
View raw message