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

Log timestamps incorrect month format on en_AU.UTF-8

    XMLWordPrintable

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.3.6, 1.4.6
    • 1.2.9
    • logback-core
    • None

    Description

       

      Re-production

      Redhat 7

      Service Locale  - en_AU.UTF-8 (or french or german)

      Logback version 1.2.9:

       

      Patten encoder:

       

      <pattern>%h %l %u [%t] "%r" %s %b "%i{Referer}" "%i{User-Agent}" %D %i{Content-Length} %mdc{jruby.borrow-time:--}</pattern>
      

       

      When in en_us the logs have the following timestamp:

      [07/Oct/2022:13:13:45 +0000]

       with en_AU.UTF-8

       [07/Oct./2022:13:13:45 +0000]

      This does not match the expected pattern layout:
       https://logback.qos.ch/manual/layouts.html#AccessPatternLayout
       
      and cause subsequent parsing errors downstream for our projects

       

      Its possible this relates to https://jira.qos.ch/browse/LOGBACK-302 but i was unable to confirm the specifics of what that reporter was seeing, only that indeed the french locale does the same thing:

       [07/oct./2022:13:13:45 +0000]

      Only with a lowercase "o"
       
       

      Attachments

        Activity

          People

            ceki Ceki Gülcü
            martyewings Marty Ewings
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: