Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.2.9
-
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
Issue Links
- relates to (in)
-
LOGBACK-302 Wrong date format in access log
- Resolved
- links to