You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by bu...@apache.org on 2008/04/18 02:04:03 UTC

DO NOT REPLY [Bug 44839] New: SyslogAppender logging to a UNIX domain socket

https://issues.apache.org/bugzilla/show_bug.cgi?id=44839

           Summary: SyslogAppender logging to a UNIX domain socket
           Product: Log4j
           Version: 1.2
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Appender
        AssignedTo: log4j-dev@logging.apache.org
        ReportedBy: gsudduth@gmail.com


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


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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


DO NOT REPLY [Bug 44839] SyslogAppender logging to a UNIX domain socket

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=44839


Curt Arnold <ca...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Curt Arnold <ca...@apache.org>  2008-05-07 00:29:40 PST ---
/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).


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

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