Access Logs
Last updated
Was this helpful?
Last updated
Was this helpful?
RoadRunner has the HTTP access logs support, which provides detailed information about incoming HTTP requests and responses.
To enable HTTP access logs in RoadRunner, you need to modify the configuration file of the HTTP server.
Here's an example configuration file:
Once enabled, RoadRunner will log the following information for each incoming HTTP request:
method
- HTTP method of the request
remote_addr
- Remote address of the client
bytes_sent
- Content length of the response
http_host
- Host name of the server
request
- Query string of the request
time_local
- Local time of the server in Common Log Format
request_length
- Request body size including headers in bytes (content-len + size of all headers) in bytes. Max allowed headers size for the RR is 1MB.
request_time
- Request processing time in seconds with a milliseconds' resolution
status
- HTTP response status
http_user_agent
- HTTP user string of the client
http_referer
- HTTP string of the client