logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joni Hahkala <joni.hahk...@cern.ch>
Subject Re: Syslog logging configuration
Date Fri, 10 Nov 2006 10:44:39 GMT
Thanks Maarten and Ceki!

Works now, I just didn't fully realize that I had to enable remote 
logging for it to work. And of course with UDP you don't get any error 
messages if there is a problem in the message receiving...

I hope there will be documentation for the SyslogAppender configuration 
values somewhere. :)


Ceki Gülcü wrote:
> At 10:12 PM 11/9/2006, you wrote:
>> I vaguely remember that we had security issues when we started using the
>> SyslogAppender. Make sure you have the privileges to connect to it via a
>> socket.
>> Most C/C++ apps use the syslog system call, but I believe log4j uses a 
>> TCP
>> socket
>> to talk to the syslog daemon.
> No, I can authoritatively state that log4j uses UDP.
> You have to enable the syslog deamon to accept network (remote) 
> connections. (It's the -r flag for the vanilla syslog daemon. For 
> syslogng you need to open a UDP channel.
> HTH,

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

View raw message