[Koha-bugs] [Bug 28477] INTRANET and OPAC loggers should print to STDERR instead of to file

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri May 28 03:45:44 CEST 2021


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

David Cook <dcook at prosentient.com.au> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Needs Signoff               |In Discussion

--- Comment #5 from David Cook <dcook at prosentient.com.au> ---
If folk have tests for the actual intranet and opac scripts, that would be
great. 

I can't be bothered trying to work those out right now. 

--

Although the more I think about it...

While this should work fine with Apache, it might not work as one might expect
with Plack in regards to Bug 16357.

Bug 16357 overwrites SIGWARN, but Log::Log4perl isn't using SIGWARN. It's
printing to STDERR. So the errors would wind up in plack-error.log (rather than
plack-intranet-error.log or plack-opac-error.log). 

That's not great because the logs aren't separated...

--

Maybe we shouldn't have called the error files plack-opac-error.log and
plack-intranet-error.log and instead just called them koha-opac-error.log and
koha-intranet-error.log and set both appenders to logging to the same file...

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


More information about the Koha-bugs mailing list