You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-user@logging.apache.org by "Schoedl, Andreas" <An...@softwareag.com> on 2003/03/24 16:52:06 UTC

SyslogAppender and syslogd on Solaris

Hi,

I want log4j's SyslogAppender to hand over facility / generator-id (USER,
LOCAL0, ...) and severity (WARN, ERROR) to the syslogd process.

The property FacilityPrinting just inserts the facility's name into the
message string, that's not enough for me, because there is subsequent
processing that relies on the presence of FacilityDOTSeverity prepended
messages. 

This format is written for example when something is logged using the logger
program and - to me - seems to be printed by syslog itself. So, can I get
the SyslogAppender to not prepend the message itself but call syslogd with
the apropriate parameters?

Thanks in advance,

Andreas Schoedl

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