-
Bug
-
Resolution: Duplicate
-
Undefined
-
None
-
rhel-8.10
-
None
-
No
-
None
-
rhel-sst-cs-stacks
-
ssg_core_services
-
None
-
False
-
-
None
-
Red Hat Enterprise Linux
-
None
-
None
-
None
-
None
What were you trying to do that didn't work?
Customize the error log.
BZ from community:
https://bz.apache.org/bugzilla/show_bug.cgi?id=55193
Please provide the package NVR for which bug is seen:
httpd
How reproducible:
Steps to reproduce
- Change the error log format. Example, the following is using the 2.2 format:
ErrorLogFormat "[%t] [%l] %7F: %E: [client\ %a] %M% ,\ referer\ %{Referer}i"
Expected results
All logs using the new log format.
[Tue Oct 17 03:37:23 2023] [notice] AH00094: Command line: '/usr/sbin/httpd -D FOREGROUND'
Actual results
AJP logs are not formatted:
[Tue Oct 17 12:18:15.548809 2023] [proxy_ajp:error] [pid 25029:tid 140475302381312] (70007)The timeout specified has expired: AH01030: ajp_ilink_receive() can't receive header [Tue Oct 17 16:09:45.926607 2023] [proxy_ajp:error] [pid 25028:tid 140475310774016] (70014)End of file found: AH01030: ajp_ilink_receive() can't receive header [Tue Oct 17 16:09:45.926597 2023] [proxy_ajp:error] [pid 25026:tid 140475310774016] (104)Connection reset by peer: AH01030: ajp_ilink_receive() can't receive header