From 6e89533a5dc01ede38728ba17f62632448cc3341 Mon Sep 17 00:00:00 2001 From: Kyle M Hall Date: Mon, 2 Mar 2015 06:06:58 -0800 Subject: [PATCH] [SIGNED-OFF] Bug 13411 [QA Followup] - Add logging Signed-off-by: Brendan A Gallagher --- C4/SIP/ILS.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/C4/SIP/ILS.pm b/C4/SIP/ILS.pm index 2ea451e..7d702b7 100644 --- a/C4/SIP/ILS.pm +++ b/C4/SIP/ILS.pm @@ -195,9 +195,11 @@ sub checkin { # It's ok to check it in if it exists, and if it was checked out # or it was not checked out but the checked_in_ok flag was set $circ->ok( ( $checked_in_ok && $item ) || ( $item && $item->{patron} ) ); + syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - using checked_in_ok") if $checked_in_ok; if ( !defined( $item->{patron} ) ) { $circ->screen_msg("Item not checked out") unless $checked_in_ok; + syslog("LOG_DEBUG", "C4::SIP::ILS::checkin - item not checked out"); } else { if ( $circ->ok ) { -- 1.9.1