Koha/C4/SIP/ILS/Transaction
Kyle M Hall 03c03ed8cd Bug 15253: Add Koha::Logger based logging for SIP2
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 sipuser 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.

Based on original patches by Kyle Hall and additions by Olli-Antti
Kivilahti.

Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
2019-04-18 11:37:27 +00:00
..
Checkin.pm Bug 22076: SIP checkin for withdrawn item returns ok in checkin response 2019-03-28 12:08:18 +00:00
Checkout.pm Bug 15253: Add Koha::Logger based logging for SIP2 2019-04-18 11:37:27 +00:00
FeePayment.pm Bug 22600: Add 'interface' to accountlines 2019-04-10 19:43:11 +00:00
Hold.pm Bug 22330: Transfer limits should be respected for placing holds in staff interface and APIs 2019-03-21 16:22:56 +00:00
Renew.pm Bug 15494: Update display of renewal errors 2018-11-07 21:39:38 +00:00
RenewAll.pm Bug 15253: Add Koha::Logger based logging for SIP2 2019-04-18 11:37:27 +00:00