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

Lari Taskula <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #60850|0                           |1
        is obsolete|                            |

--- Comment #7 from Lari Taskula <[email protected]> ---
Created attachment 69228
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69228&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. Install Perl dependency MojoX::Log::Log4perl
2. prove t/Koha/Logger/Mojo.t

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to