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


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

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=65119

Rich Bowen <rb...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WONTFIX
             Status|NEW                         |RESOLVED

--- Comment #1 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.

-- 
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