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

Syslog suffixPattern property cant start with a character in range [a-zA-Z0-9]

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.0.10
    • 1.0.9, 1.0.10
    • None

    Description

      The actual prefix that is prepended to every message issued to syslog is
      "%syslogStart

      {" + getFacility() + "}

      %nopex"
      As this prefix does not contains a final space, the logback parser will interpret the %noexp concatenated with the next string, resulting in something like this:
      suffixPattern: "test"
      message received in rsyslog: %PARSER_ERROR[nopextest]

      It is not possible to define a suffixPattern starting with a space as the xml parser trims the data inside the tags. As there is no workaround to achieve this, this bug cant have a priority lesser than major

      Thanks

      Attachments

        Activity

          People

            logback-dev Logback dev list
            polaco Bruno Polaco
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: