https://bz.apache.org/bugzilla/show_bug.cgi?id=65119
Bug ID: 65119
Summary: %c doesn't work correctly in log formats
Product: Apache httpd-2
Version: 2.4.46
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P2
Component: mod_log_config
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Hey.
I've just noted that something like:
LogFormat "%{%c}t"
doesn't work as expected and doesn't use the locale's preferred date/time
format, but some default English-whatever format.
I'm using a custom locale, but something like:
$ date +%c
works just fine and produces the expected string.
I've also checked the /proc/<pid>/environment of all apache processes - the
contain the correct LANG, so it can't be any wrongdoing in Debian's startup
scripts but must probably be some issue within Apache itself.
Any ideas how to further debug this?
Cheers,
Chris.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]