![]() |
![]()
| ![]() |
![]()
NAMEToadfarm::Plugin::AccessLog - Log requests SYNOPSIS#!/usr/bin/env perl use Toadfarm -init; # mount applications, set up logging, ... plugin "Toadfarm::Plugin::AccessLog"; start; DESCRIPTIONThis module will log the request with "info" log level. The log format is subject for change. For now it is: $remote_address $http_method $url $status_code 1.2.3.4 GET http://localhost/favicon.ico 200 See also Mojolicious::Plugin::AccessLog if you think this plugin is too limiting. METHODSregisterRegister an "around_dispatch" hook which will log the request. AUTHORJan Henning Thorsen - "jhthorsen@cpan.org"
|