[Koha-bugs] [Bug 30242] Allow changing Mojolicious log level

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 7 15:33:01 CET 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=30242

--- Comment #3 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
(In reply to Julian Maurice from comment #2)
> > Default Mojo log level is trace
> Only if the "mode" is development. It is 'info' otherwise
> (https://docs.mojolicious.org/Mojolicious#log). Not sure where MOJO_MODE
> should be set (in systemd unit perhaps ?)

The koha-plack script sets either 'deployment' or 'development' depending on
the environment (if --debug was passed, or dev install detected).

> Is it possible to redirect the logs to what is configured in log4perl.conf
> for the API ?

$c->log should be initialized with Koha::Logger, right? Should be doable.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list