GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  TOADFARM::PLUGIN::ACCESSLOG (3)

.ds Aq ’

NAME

Toadfarm::Plugin::AccessLog - Log requests

CONTENTS

SYNOPSIS



  #!/usr/bin/env perl
  use Toadfarm -init;
  # mount applications, set up logging, ...
  plugin "Toadfarm::Plugin::AccessLog";
  start;



DESCRIPTION

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
  1.2.3.4 GET http://localhost/favicon.ico 200



See also Mojolicious::Plugin::AccessLog if you think this plugin is too limiting.

METHODS

    register

Register an around_dispatch hook which will log the request.

AUTHOR

Jan Henning Thorsen - jhthorsen@cpan.org
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 TOADFARM::PLUGIN::ACCESSLOG (3) 2016-02-24

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.