NAME
Gungho::Plugin::RequestLog - Log Requests
SYNOPSIS
plugins:
- module: RequestLog
config:
- module: File
file: /path/to/filename
DESCRIPTION
If you want to know what Gungho's fetching, load this plugin.
The regular logs are logged at 'info' level, so don't set min_level to above 'info' in the config. See Log::Dipatch for details.
LOG FORMAT
The basic log format is
CURRENT_TIME | ELAPSED TIME | RESPONSE CODE | URI | REQUEST ID
For the rare cases where for some reason you believe the request has been requested to be fetched but the response isn't coming back, set the min_level of the log config to debug:
plugins:
- module: RequestLog
config:
- module: File
file: /path/to/filename
min_level: debug
When you enable debug, lines like this will be logged at send_request time
# CURRENT_TIME | URI | REQUEST ID
The leading '#' is there to aid you filter out the logs