Uploaded image for project: 'Log4j 2'
  1. Log4j 2
  2. LOG4J2-1939

Add appName option to SyslogLayout

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Layouts
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              kwauchope Kelvin
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: