Bug 44839 - SyslogAppender logging to a UNIX domain socket
Summary: SyslogAppender logging to a UNIX domain socket
Status: NEEDINFO
Alias: None
Product: Log4j - Now in Jira
Classification: Unclassified
Component: Appender (show other bugs)
Version: 1.2
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: log4j-dev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-04-17 17:04 UTC by Sudduth
Modified: 2008-05-07 00:29 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sudduth 2008-04-17 17:04:02 UTC
It would be very useful to be able to have SyslogAppender be able to log to a local UNIX domain socket (ie /dev/log). (Apparently most syslogds aren't able to bind only to localhost so in order to get logs from syslogappender they have to listen on all interfaces which can cause security problems.)
Comment 1 Curt Arnold 2008-05-07 00:29:40 UTC
/dev/log is a Unix Domain Socket and I would think there would not be a means to reliably write to it in pure Java code.  Can you get away with writing to it with file IO?  If so, if you could provide a reference or docs?

If not, then this is just a duplicate of the request for a native SyslogAppender (bug 27363).