Install libplack-middleware-logwarn-perl by entering the following commands in the terminal:
sudo apt update sudo apt install libplack-middleware-logwarn-perl
Description:
converts warnings to log messages
Plack::Middleware::LogWarn is a Plack::Middleware component that will help you get warnings into a logger. You probably want to use some sort of real logging system such as Log::Log4perl and another Plack::Middleware such as Plack::Middleware::Log4perl. . Plack is a set of tools similar to Ruby's Rack or Python's Paste for WSGI. It implements the Perl Server Gateway Interface (PSGI) standard interface, which allows developers to decouple their web application framework from the local web server environment.
Homepage: https://metacpan.org/pod/Plack::Middleware::LogWarn
Version: 0.001002-1
Section: universe/perl