[logback-dev] [JIRA] Created: (LBACCESS-22) Wrong date format in access log
Vincent Ricard (JIRA)
noreply-jira at qos.ch
Thu Dec 16 10:31:51 CET 2010
Wrong date format in access log
Issue Type: Bug
Environment: French default locale
Reporter: Vincent Ricard
Assignee: Logback dev list
According to http://httpd.apache.org/docs/current/mod/mod_log_config.html#formats (see '%t' documentation) and http://httpd.apache.org/docs/current/logs.html#common, the output should be "10/Dec/2010" (with no accents, even with my french environment).
So, i think the CoreConstants.CLF_DATE_PATTERN should be "dd/MMM/yyyy:HH:mm:ss Z"; and the SimpleDateFormat should be instantiated with Locale.EN_US or Locale.ENGLISH for the %t default case.
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: http://jira.qos.ch/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the logback-dev