Toadfarm::Plugin::AccessLog - Log requests
#!/usr/bin/env perl use Toadfarm -init; # mount applications, set up logging, ... plugin "Toadfarm::Plugin::AccessLog"; start;
This 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 188.8.131.52 GET http://localhost/favicon.ico 200
See also Mojolicious::Plugin::AccessLog if you think this plugin is too limiting.
Register an "around_dispatch" hook which will log the request.
Jan Henning Thorsen -