You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Tomasz Mazan <wi...@wp.pl> on 2008/01/23 16:05:04 UTC
Geronimo and logging to SYSLOG
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
--
View this message in context: http://www.nabble.com/Geronimo-and-logging-to-SYSLOG-tp15043467s134p15043467.html
Sent from the Apache Geronimo - Users mailing list archive at Nabble.com.
Re: Geronimo and logging to SYSLOG
Posted by Tomasz Mazan <wi...@wp.pl>.
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.