tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Lucia" <timlu...@yahoo.com>
Subject RE: Log4J output to SYSLOG
Date Tue, 24 Jan 2006 15:13:33 GMT
http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SyslogAppender
.html 

-----Original Message-----
From: Bachler, Elisabeth (Elisabeth) [mailto:ebachler@lucent.com] 
Sent: Tuesday, January 24, 2006 10:04 AM
To: 'Tomcat Users List'
Subject: Log4J output to SYSLOG

Hello,
I am using "Apache Tomcat Version 5.5.12". I  have designed a web
application. I am using log4j to output messages in a log. But now, I would
like to output the log4j message to the SYSLOG. 
What should I do?
THanks


The log4j.properties file is as follows:

log4j.rootLogger=debug, R

log4j.appender.R=org.apache.log4j.RollingFileAppender
log4j.appender.R.File=${catalina.home}/logs/tomcat.log
log4j.appender.R.MaxFileSize=10MB
log4j.appender.R.MaxBackupIndex=10

log4j.appender.R.layout=org.apache.log4j.PatternLayout

log4j.appender.R.layout.ConversionPattern=%d{dd-MM-yyyy HH:mm:ss}  %-5p
(%C:%M:%L) - %m%n

log4j.logger.lucent.com.bean.UtilBean=DEBUG,R


-

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message