From: erickson Date: Tue, 28 Sep 2010 18:12:14 +0000 (+0000) Subject: for troubleshooting, log the size of the template output to be stored X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4c3d1b198538f0ae807d0919e859e4edec51caab;p=evergreen%2Fjoelewis.git for troubleshooting, log the size of the template output to be stored git-svn-id: svn://svn.open-ils.org/ILS/trunk@18085 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- diff --git a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm index 5cc31002b2..cc59bbd177 100644 --- a/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm +++ b/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm @@ -156,6 +156,7 @@ sub run_TT { my $t_o = Fieldmapper::action_trigger::event_output->new; $t_o->data( ($error) ? $error : $output ); $t_o->is_error( ($error) ? 't' : 'f' ); + $logger->info("trigger: writing " . length($t_o->data) . " bytes to template output"); $env->{EventProcessor}->editor->xact_begin; $t_o = $env->{EventProcessor}->editor->create_action_trigger_event_output( $t_o );