You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2021/02/02 01:57:45 UTC

[Bug 65119] New: %c doesn't work correctly in log formats

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: bugs@httpd.apache.org
          Reporter: calestyo@scientia.net
  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: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org