[Bug 62161] no way to ensure error log contains timezone in timestamps

2023-07-17 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

Graham Leggett  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|NEW |RESOLVED

--- Comment #6 from Graham Leggett  ---
Backported to v2.4.58.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 62161] no way to ensure error log contains timezone in timestamps

2023-03-14 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

Yann Ylavic  changed:

   What|Removed |Added

   Keywords||FixedInTrunk

--- Comment #5 from Yann Ylavic  ---
Checked in trunk (r1908380).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 62161] no way to ensure error log contains timezone in timestamps

2023-01-27 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

--- Comment #4 from Yann Ylavic  ---
Created attachment 38485
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=38485=edit
ErrorLogFormat to accept "%{z}t" and "%{}t"

ErrorLogFormat is about every log in any httpd context (loading, request,
connection...), while LogFormat is always handled in the context of (the end
of) a request where all informations regarding the request are known/populated.
That and for historical reasons too (probably) they don't share much
code/formats.
For plain "%t" we can't change the output now, this would break for someone
somewhere.

This patch adds strftime() format by looking up for a '%' in the format, to
avoid (or minimize the chance of) breaking existing configurations like
"%{abcdu}t" where everything but 'u' or 'c' was ignored.
It also adds the special "%{z}t" format (or still combined with the existing
'c' and 'u' ones like in "%{uz}t" or "%{cuz}t").
The default time format gets treated as a fast-path too (no ErrorLogFormat
being handled as "%{u}t" internally).

Can you try it?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 62161] no way to ensure error log contains timezone in timestamps

2023-01-26 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

--- Comment #3 from nico...@eforney.com ---
This is really a must-have!

Having the same capabilities as LogFormat for the timezone part will be a great
solution.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 62161] no way to ensure error log contains timezone in timestamps

2022-08-04 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

--- Comment #2 from Christian Lange  ---
Find it annoying two. Maybe it's possible to have the same configuration
abilities for ErrorLogFormat and LogFormat?

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org



[Bug 62161] no way to ensure error log contains timezone in timestamps

2020-07-28 Thread bugzilla
https://bz.apache.org/bugzilla/show_bug.cgi?id=62161

--- Comment #1 from Ondrej Brejla  ---
Hi all,

this issue is very annoying for everyone, it would be really nice to have it
fixed :)

Thanks a lot!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-
To unsubscribe, e-mail: bugs-unsubscr...@httpd.apache.org
For additional commands, e-mail: bugs-h...@httpd.apache.org