[Koha-bugs] [Bug 18205] REST interface to Koha::Logger

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 6 19:05:57 CET 2017


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

--- Comment #3 from Lari Taskula <lari.taskula at jns.fi> ---
Created attachment 60850
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=60850&action=edit
Bug 18205: Mojo::Log with Koha::Logger::Mojo

This patch adds a new module, Koha::Logger::Mojo, based on
MojoX::Log::Log4perl.
This module allows us to use log4perl configurations with Mojolicious on the
freshly introduced 'rest' interface in log4perl.conf.

$c->app->log->warn will then use Log4perl as the underlying log mechanism and
those log events will point to the appropriate log file.

To test:
1. prove t/Koha/Logger/Mojo.t

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


More information about the Koha-bugs mailing list