struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Neu" <peter....@gmx.net>
Subject AW: [OT] Re: How to turn off logging info on struts startup?
Date Fri, 01 Sep 2006 08:23:29 GMT
That's it: 

log4j.rootLogger=INFO, cons
log4j.logger.de.ktbl=, myAppender
log4j.appender.cons=org.apache.log4j.ConsoleAppender
log4j.appender.myAppender=org.apache.log4j.RollingFileAppender
log4j.appender.myAppender.File=/usr/local/log/nbw06.log

#create max. 5 BackUp Files
log4j.appender.myAppender.MaxBackupIndex=5

#max File Size 1MB
log4j.appender.myAppender.MaxFileSize=1MB

#the root logger's layout
log4j.appender.cons.layout=org.apache.log4j.SimpleLayout
log4j.appender.myAppender.layout=org.apache.log4j.PatternLayout
log4j.appender.myAppender.layout.ConversionPattern= %n %-5p [%d{dd.MM.yy
HH:mm:ss}] - %m




> -----Urspr√ľngliche Nachricht-----
> Von: Antonio Petrelli [mailto:brenmcguire@tariffenet.it]
> Gesendet: Freitag, 1. September 2006 09:34
> An: Struts Users Mailing List
> Betreff: [OT] Re: How to turn off logging info on struts startup?
> 
> Peter Neu ha scritto:
> > Hello,
> >
> >
> >
> > how can I turn off the logging info struts gives me when it starts up? I
> > mean this stuff:
> > I use log4J as Logging Framework.
> 
> Can you post your log4j.properties?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org



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


Mime
View raw message