Log4j 2
  1. Log4j 2
  2. LOG4J2-263

RFC5424 Layout (and Syslog Layout) uses platform encoding when no charset is specified in configuration

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0-beta6
    • Fix Version/s: 2.0-beta7
    • Component/s: Appenders, Core
    • Labels:
      None

      Description

      RFC5424 seems to require UTF-8 or US-ASCII as the character encoding.
      Should the 'charset' attribute be removed so that this is no longer configurable?

      Is there any specification for the Syslog format?

      See also discussion here: https://issues.apache.org/jira/browse/LOG4J2-255?focusedCommentId=13659559&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13659559

        Activity

        Remko Popma created issue -
        Ralph Goers made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-beta7 [ 12324400 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Remko Popma
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development