Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-56085

ErrorLogFormat is ignored by some modules as the mod_proxy_ajp

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Undefined Undefined
    • None
    • rhel-8.10
    • httpd
    • None
    • No
    • None
    • rhel-sst-cs-stacks
    • ssg_core_services
    • None
    • False
    • Hide

      None

      Show
      None
    • 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

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

              luhliari@redhat.com Lubos Uhliarik
              rhn-support-lkonno Leticia Konno
              Lubos Uhliarik Lubos Uhliarik
              rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe rhel-cs-infra-services-qe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: