Thanks, Curt.  Enabling remote packets solved the problem.

-----Original Message-----
From: Curt Arnold [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 21, 2005 12:42 PM
To: Log4J Users List
Subject: Re: syslogging in log4j


On Jul 21, 2005, at 11:37 AM, Ceki Gülcü wrote:

>
> Jerry,
>
> Is the Syslog daemon on "somehost.com" configured to accept packets
> from the network? On most installations, by default Syslog is
> configured  to reject input from the network.
>
> Home this helps,

The PHP implementation is likely using the native syslog() method.
log4j does not call the syslog() method (which would require JNI),
but creates the same network traffic that a call to syslog() would
make to a remote syslogd.  That approach is portable but requires
that syslogd be configured to accept network traffic even if coming
from localhost.

There is an enhancement request (http://issues.apache.org/bugzilla/
show_bug.cgi?id=27363) with an associated submission to implement a
JNI-based SyslogAppender, though I have not reviewed it.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to