4.2.7 Collecting request trace information
Request trace information indicates the trace information collected for the following cases:
-
When a request process starts
-
When a request process is completed
-
When a request line is received with a KeepAlive connection
-
When the connection is removed after a request process starts but before the request line is received.
The request trace information collection functionality can be used when the HWSRequestLog directive is specified and request is specified in the HWSRequestLogType directive. Request trace information is useful for checking whether the Web server receives a request when a failure occurs.
- Organization of this subsection
(1) Trace information format
The items below are output for request trace information.
Note that in the following coding, server-process-ID is used in the format when the prefork MPM is used in the UNIX version. In place of server-process-ID, server-process-ID:server-thread-ID is displayed for the worker MPM in the UNIX version, and server-thread-ID is displayed in the Windows version.
-
When a request process starts
[Time]Δ(server-process-ID)ΔclientΔ:ΔhwsΔ-->Δ(client-IP-address:port-number,server-IP-address:port-number[A])
-
When a request process is completed
[Time]Δ(server-process-ID)ΔclientΔ:ΔhwsΔ<--Δ(client-IP-address:port-number, server-IP-address:port-number[R])
-
When the next request line is received with the KeepAlive connection
[Time]Δ(server-process-ID)ΔclientΔ:ΔhwsΔ-->Δ(client-IP-address:port-number,server-IP-address: port-number[K])
-
When the connection is removed after a request process starts but before the request line is received
[Time]Δ(server-process-ID)ΔclientΔ:ΔhwsΔ<--Δ(client-IP-address: port-number,server-IP-address: port-number[X])
- Legend:
-
Δ: Space
- (Output example)
[Tue Nov 21 15:18:40 2006] (1716) client : hws --> (192.168.2.1:5245,192.168.1.1:80[A]) [Tue Nov 21 15:18:41 2006] (1716) client : hws <-- (192.168.2.1:5245,192.168.1.1:80[R])