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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 2.0-beta6
    • 2.0-beta7
    • Appenders, Core
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            rpopma Remko Popma
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: