Using this small example:
Show quoted text-------------start-----------
use Mojolicious::Lite;
use Data::Dumper;
use Mojo::Log::Syslog;
use Mojo::Log;
my $log = new Mojo::Log::Syslog(facility => 'local0', ident => "oltprov",
level => 'info');
app->log($log);
app->log->info("LITE is starting");
any '/' => sub {
my $c=shift;
app->log->info("GOT /");
$c->render(text => "hello ".time());
};
app->config(hypnotoad => {listen => ['http://*:3001'], pid_file =>
'lite.pid'});
app->log->level('debug');
app->start;
--------- end -----------------
run under morbo: morbo -l http://*:80 foo.pl
under 8.07 and 8.21 and it works fine
under 8.25 I get this error on a "GET /" event
Mojo::Reactor::EV: I/O watcher failed: unrecognized arguments at
/usr/local/share/perl/5.24.1/Mojolicious/Plugin/DefaultHelpers.pm line 175.
CORE
Perl (v5.24.1, linux)
Mojolicious (8.25, Supervillain)
OPTIONAL
Cpanel::JSON::XS 4.09+ (n/a)
EV 4.0+ (4.22)
IO::Socket::Socks 0.64+ (0.73)
IO::Socket::SSL 2.009+ (2.044)
Net::DNS::Native 0.15+ (n/a)
Role::Tiny 2.000001+ (2.000005)
On Fri, Oct 4, 2019 at 8:00 PM Sergey Poznyakoff via RT <
bug-Mojo-Log-Syslog@rt.cpan.org> wrote:
--
Søren Schrøder.
Obey Gravity - It's the law !