Kelvin created LOG4J2-1939:
------------------------------
Summary: Add appName option to SyslogLayout
Key: LOG4J2-1939
URL: https://issues.apache.org/jira/browse/LOG4J2-1939
Project: Log4j 2
Issue Type: Improvement
Components: Layouts
Reporter: Kelvin
Priority: Minor
The BSD syslog RFC (rfc3164) mentions that a "message" should contain a tag and
content. The separation of the fields should be using a '[', ':' or space.
The implementor of a system may not add the tag component as it is log layout
specific. When not part of the message, and configuring a product to produce
syslog, downstream syslog parsers expecting rfc3146 formatted data have a hard
time without modifying the message before parsing or adding special rules for
those sources.
An appName option like Rfc5424Layout would be great. If specified it can be
added to the message, if not the current format can be used in order to not
disrupt any downstream parsers currently in use.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)