If you don't want to mess with your server.xml file, or you're a mere user and can't, you can do it easily with Apache log4j. Create the following file, log4j.properties and put it in your WEB-INF/classes directory. This will create a log file in /var/tmp named logtags.log. The docs for log4j are at http://logging.apache.org/log4j/docs/

# Sample properties to initialise log4j
log4j.rootCategory=debug, logfile

log4j.appender.logfile=org.apache.log4j.RollingFileAppender
log4j.appender.logfile.File=/var/tmp/logtags.log
log4j.appender.logfile.MaxFileSize=100KB
log4j.appender.logfile.MaxBackupIndex=2
log4j.appender.logfile.layout=org.apache.log4j.PatternLayout
log4j.appender.logfile.layout.ConversionPattern=%p %t %c - %m%n


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to