Package : perl-Plack-Middleware-LogErrors > RPM : perl-Plack-Middleware-LogErrors-0.3.0-2.mga7.src.rpm

Basic items

Name perl-Plack-Middleware-LogErrors
Version 0.3.0
Release 2.mga7
URL http://search.cpan.org/dist/Plack-Middleware-LogErrors
Group Development/Perl
Summary Map psgi.errors to psgix.logger or other logger
Size 34KB
Arch noarch
License GPL+ or Artistic

Description

'psgi.errors' defaults to 'stderr' in most backends, which results in
content going somewhere unhelpful like the server console.

This middleware simply remaps the 'psgi.errors' stream to the
'psgix.logger' stream, or an explicit logger that you provide.

This is especially handy when used in combination with other middlewares
such as the Plack::Middleware::LogWarn manpage (which diverts Perl warnings
to 'psgi.errors'); the Plack::Middleware::HTTPExceptions manpage (which
diverts uncaught exceptions to 'psgi.errors'); and the
Plack::Middleware::AccessLog manpage, which defaults to 'psgi.errors' when
not passed a logger -- which is also automatically applied via the plackup
manpage (so if you provided no '--access-log' option indicating a filename,
'psgi.errors' is used).

Media information

Distribution release Mageia 7
Media name core-release
Media arch i586

Advanced items

Source RPM NOT IN DATABASE ?!
Build time 2018-09-20 13:24:36
Changelog View in Sophie
Files View in Sophie
Dependencies View in Sophie