[open-ils-commits] r18088 - branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger (erickson)

svn at svn.open-ils.org svn at svn.open-ils.org
Tue Sep 28 15:34:55 EDT 2010


Author: erickson
Date: 2010-09-28 15:34:50 -0400 (Tue, 28 Sep 2010)
New Revision: 18088

Modified:
   branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm
Log:
for troubleshooting, log the size of the template output to be stored

Modified: branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm
===================================================================
--- branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm	2010-09-28 19:34:17 UTC (rev 18087)
+++ branches/rel_2_0/Open-ILS/src/perlmods/OpenILS/Application/Trigger/Reactor.pm	2010-09-28 19:34:50 UTC (rev 18088)
@@ -156,6 +156,7 @@
         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 );



More information about the open-ils-commits mailing list