[Koha-bugs] [Bug 15253] Add Koha::Logger based logging for SIP2
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Jan 3 17:45:50 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15253
Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #45824|0 |1
is obsolete| |
--- Comment #11 from Olli-Antti Kivilahti <olli-antti.kivilahti at jns.fi> ---
Created attachment 58570
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58570&action=edit
Bug 15253 - Add Koha::Logger based logging for SIP2
Original version from khall rebased and modified for Log::Log4perl MDC
Now that we have Koha::Logger, we should use it in our SIP server. This
has the potential to make debugging SIP issue much easier. We should add
the userid for the sipser to the namespace so we can allow for separate
files per sip user if wanted.
Also modifies the log4perl.conf to lazy-open filehandles to log files,
so the same config can be used with log-files needing different permissions.
Test Plan:
1) Apply this patch set
2) Update the modififed log4perl.conf to your system
3) Restart your sip server
4) Tail your sip2.log, run some queries
5) Note you still get the same output messages as before, with the
addition of the ip address and username ( if available ) prefixing
the message.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list