Man Page: plack::middleware::accesslog::timed
Operating Environment: debian
Section: 3pm
Plack::Middleware::AccessLog::Timed(3pm) User Contributed Perl Documentation Plack::Middleware::AccessLog::Timed(3pm)NAMEPlack::Middleware::AccessLog::Timed - Logs requests with time and accurate body sizeSYNOPSIS# in app.psgi use Plack::Builder; builder { enable "Plack::Middleware::AccessLog::Timed", format => "%v %h %l %u %t "%r" %>s %b %D"; $app; };DESCRIPTIONPlack::Middleware::AccessLog::Timed is a subclass of Plack::Middleware::AccessLog but uses a wrapped body handle to get the actual response body size %b (even if it's not a chunk of array or a real filehandle) and the time taken to serve the request: %T or %D. This wraps the response body output stream so some server optimizations like sendfile(2) will be disabled if you use this middleware.CONFIGURATIONSame as Plack::Middleware::AccessLog.AUTHORTatsuhiko MiyagawaSEE ALSOPlack::Middleware::AccessLog perl v5.14.2 2012-03-15 Plack::Middleware::AccessLog::Timed(3pm)
| Related Man Pages |
|---|
| plack::app::file(3pm) - debian |
| plack::builder(3pm) - debian |
| plack::component(3pm) - debian |
| plack::middleware::conditional(3pm) - debian |
| plack::middleware::recursive(3pm) - debian |
| Similar Topics in the Unix Linux Community |
|---|
| awk or sed - Convert 2 lines to 1 line |
| Detecting unused variables... |
| One instance of comparing grep and awk |
| My first PERL incarnation... Audio Oscillograph |