Subject: | Not compatible with Mojolicious 8.24 |
Date: | Fri, 13 Sep 2019 09:07:38 +0800 |
To: | bug-MojoX-Log-Log4perl [...] rt.cpan.org |
From: | se456 [...] rohan.id.au |
Some changes to the logging system in Mojolicious causes MojoX::Log::Log4Perl
to emit warnings every time a message is logged.
e.g.
Can't locate object method "context" via package "MojoX::Log::Log4perl" at
/home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line 175.
This is fixed by adding an empty:
sub context { }
But then I get:
Can't call method "error" on an undefined value at
/home/tdev/local/lib/perl5/Mojolicious/Plugin/DefaultHelpers.pm line 100.
The changes are discussed here:
https://github.com/mojolicious/mojo/issues/1400