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

--- Comment #8 from David Cook <dc...@prosentient.com.au> ---
(In reply to Jonathan Druart from comment #7)
> (In reply to David Cook from comment #6)
> > (In reply to Jonathan Druart from comment #5)
> > > That's actually not a solution. The worker will call Koha methods which 
> > > will
> > > log using Koha::Logger.
> > 
> > Koha::Logger can be configured to log to STDERR which would then be handled
> > via "daemon", so it should work.
> 
> Are you referring to Koha::Logger->debug_to_screen?

No, I mean in log4perl.conf. We typically use Log::Log4perl::Appender::File in
Koha but you can use Log::Log4perl::Appender::Screen instead. You can then
choose STDERR instead of STDOUT for that "screen" output.

Looks like it's been mentioned (mostly by me) on bug 25284, bug 28477, bug
16357, and bug 8190. 

Not enough time and too much inertia to change existing things on those bugs,
but we have a chance here to use Log::Log4perl::Appender::Screen from the
start.

Happy to chat more about it.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://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