geronimo-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomasz Mazan <win...@wp.pl>
Subject Re: Geronimo and logging to SYSLOG
Date Wed, 23 Jan 2008 15:44:14 GMT



Tomasz Mazan wrote:
> 
> Hi
> I've configured my server to send part of logs to SYSLOG. There's quote
> from server-log4j.properties
> 
> log4j.appender.SYSLOG=org.apache.log4j.net.SyslogAppender
> log4j.appender.SYSLOG.layout=org.apache.log4j.PatternLayout
> log4j.appender.SYSLOG.layout.ConversionPattern=%d{ABSOLUTE} %-6p
> [%c{1}.%M:%L] %m%n
> log4j.appender.SYSLOG.Threshold=ERROR
> log4j.appender.SYSLOG.SyslogHost=localhost
> log4j.appender.SYSLOG.Facility=LOCAL7
> 
> log4j.logger.mu.app.package=ERROR, SYSLOG
> 
> and another appenders works, but that SyslogAppender doesn't. I got
> properly configured syslog via /etc/syslog.conf and even it has created
> destination file for these logs, but nothing is written to file
> 
> Beniamin
> 
> 

Opening UDP listener for syslog resolved the problem

Beniamin
-- 
View this message in context: http://www.nabble.com/Geronimo-and-logging-to-SYSLOG-tp15043467s134p15044722.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.


Mime
View raw message