From: erickson Date: Tue, 18 Jul 2006 17:23:09 +0000 (+0000) Subject: added some logging X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=6fa61d4bca283b3d39070beb2ab261ed9d912a98;p=Evergreen.git added some logging git-svn-id: svn://svn.open-ils.org/ILS/trunk@5061 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm b/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm index cdaa4c73c8..a233c032d8 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Penalty.pm @@ -131,6 +131,10 @@ sub update_patron_penalties { 'open-ils.storage.direct.actor.'. 'user_standing_penalty.search.usr.atomic', $pid )->gather(1); + my @types; + push( @types, $_->penalty_type ) for @$existing; + $logger->info("penalty: user has existing penalties [@types]"); + my @deleted; # If an existing penalty is not in the newly generated