[ 
https://issues.apache.org/jira/browse/LOG4J2-1939?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16050672#comment-16050672
 ] 

Gary Gregory commented on LOG4J2-1939:
--------------------------------------

Kelvin,

Only use builders please. If a class needs to be ported from factory methods 
and ctors to builders, that's extra work, yes, but will benefit everyone in the 
long run.

Thank you for contributing!
Gary

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

Reply via email to