logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry King" <jk...@handmark.com>
Subject RE: syslogging in log4j
Date Thu, 21 Jul 2005 21:25:40 GMT
Thanks, Curt.  Enabling remote packets solved the problem.

-----Original Message-----
From: Curt Arnold [mailto:carnold@apache.org]
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: log4j-user-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-user-help@logging.apache.org



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


Mime
View raw message