Uploaded image for project: 'logback'
  1. logback
  2. LOGBACK-732

SyslogAppender encoding

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.3
    • Component/s: None
    • Labels:
      None
    • Environment:

      All, specially Servers with UTF-8 configuration

      Description

      SyslogAppender has no property for enconding or charset configuration.

      I'm using a record-separator character inside a Syslog message, that is: "±"

      I have patched it in a derived class of SysLogAppenderBase, adding the following:

      sos.write(msg.getBytes("ISO-8859-1"));

      instead the original: sos.write(msg.getBytes());

      I think that a "enconding" or "charset" parameter for SyslogAppender would be sufficient.

        Attachments

          Activity

            People

            Assignee:
            ceki Ceki Gülcü
            Reporter:
            oscargonzalezmoreno Oscar González Moreno
            Votes:
            3 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: