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  -  HTTP::ENGINE::MIDDLEWARE::ACCESSLOG (3)

.ds Aq ’

NAME

HTTP::Engine::Middleware::AccessLog - write access log

CONTENTS

SYNOPSIS



    my $mw = HTTP::Engine::Middleware->new;
    $mw->install( HTTP::Engine::Middleware::AccessLog => {
        logger => sub {
            warn @_; # your own callback routine
        },
        format => %h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i",
    });
    HTTP::Engine->new(
        interface => {
            module => YourFavoriteInterfaceHere,
            request_handler => $mw->handler( \&handler ),
        }
    )->run();



DESCRIPTION

This middleware prints access log like apache.

This module’s log format string is a subset of Apache. If you want to use more syntax, patches welcome :)

BUG

%r should contains query string.

AUTHOR

Tokuhiro Matsuno

SEE ALSO

HTTP::Engine::Middleware <http://httpd.apache.org/docs/2.0/en/mod/mod_log_config.html>
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 HTTP::ENGINE::MIDDLEWARE::ACCESSLOG (3) 2010-03-08

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