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

Syslogappender day has leading zero instead of space

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.13
    • Fix Version/s: 1.1.2
    • Component/s: logback-classic
    • Labels:
      None

      Description

      The SyslogAppender prints the day with a leading zero, so for example for today: Jan 06.

      The RFC however specifies that there should not be leading zero, but a space:

      dd is the day of the month. If the day of the month is less than 10, then it MUST be represented as a space and then the number. For example, the 7th day of August would be represented as "Aug 7", with two spaces between the "g" and the "7".

        Attachments

          Activity

            People

            • Assignee:
              tony19 Tony Trinh
              Reporter:
              eamelink Erik Bakker
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: