Query: plack::middleware::accesslog::timed
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
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)
Similar Topics in the Unix Linux Community |
---|
Adding the individual columns of a matrix. |
awk or sed - Convert 2 lines to 1 line |
Introduction |
Detecting unused variables... |
One instance of comparing grep and awk |