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

Syslogappender day has leading zero instead of space

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 1.1.2
    • 1.0.13
    • logback-classic
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: