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. :)

Cheers,
Joni

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to