bwaldvogel / log4j-systemd-journal-appender

Log4j appender for systemd-journal that maintains structured log data
BSD 3-Clause "New" or "Revised" License
24 stars 14 forks source link

Add support for syslogIdentifier. #1

Closed kaj closed 9 years ago

kaj commented 9 years ago

The journal field SYSLOG_IDENTIFIER is useful for tagging log messages with a system name / program name. It is used on a larger granularity than the logger name, so I think it is useful to set it as a property on the appender, configured in log4j.properties.

bwaldvogel commented 9 years ago

Perfect, thanks!