Gungho::Plugin::RequestLog - Log Requests
plugins: - module: RequestLog config: - module: File file: /path/to/filename
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.
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
To install Gungho, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Gungho
CPAN shell
perl -MCPAN -e shell install Gungho
For more information on module installation, please visit the detailed CPAN module installation guide.