1Plack::Middleware::AcceUssseLrogC:o:nTtirmiebdu(t3e)d PePrllacDko:c:uMmiedndtlaetwiaorne::AccessLog::Timed(3)
2
3
4

NAME

6       Plack::Middleware::AccessLog::Timed - Logs requests with time and
7       accurate body size
8

SYNOPSIS

10         # in app.psgi
11         use Plack::Builder;
12
13         builder {
14             enable "Plack::Middleware::AccessLog::Timed",
15                 format => "%v %h %l %u %t \"%r\" %>s %b %D";
16             $app;
17         };
18

DESCRIPTION

20       Plack::Middleware::AccessLog::Timed is a subclass of
21       Plack::Middleware::AccessLog but uses a wrapped body handle to get the
22       actual response body size %b (even if it's not a chunk of array or a
23       real filehandle) and the time taken to serve the request: %T or %D.
24
25       This wraps the response body output stream so some server optimizations
26       like sendfile(2) will be disabled if you use this middleware.
27

CONFIGURATION

29       Same as Plack::Middleware::AccessLog.
30

AUTHOR

32       Tatsuhiko Miyagawa
33

SEE ALSO

35       Plack::Middleware::AccessLog
36
37
38
39perl v5.12.3                      2011-06P-l2a2ck::Middleware::AccessLog::Timed(3)
Impressum