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

SyslogAppender encoding

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 1.1.3
    • None
    • None
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: