[Rt-commit] r9577 - in rt/branches/3.7-EXPERIMENTAL: .
ruz at bestpractical.com
ruz at bestpractical.com
Tue Nov 6 07:05:46 EST 2007
Author: ruz
Date: Tue Nov 6 07:05:43 2007
New Revision: 9577
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/lib/RT/Scrips_Overlay.pm
Log:
r9320 at cubic-pc (orig r9319): ruz | 2007-10-16 18:05:02 +0400
* more debugging info about scrips
Modified: rt/branches/3.7-EXPERIMENTAL/lib/RT/Scrips_Overlay.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/lib/RT/Scrips_Overlay.pm (original)
+++ rt/branches/3.7-EXPERIMENTAL/lib/RT/Scrips_Overlay.pm Tue Nov 6 07:05:43 2007
@@ -186,6 +186,11 @@
foreach my $scrip (@{$self->Prepared}) {
+ $RT::Logger->debug(
+ "Committing scrip #". $scrip->id
+ ." on txn #". $self->{'TransactionObj'}->id
+ ." of ticket #". $self->{'TicketObj'}->id
+ );
$scrip->Commit( TicketObj => $self->{'TicketObj'},
TransactionObj => $self->{'TransactionObj'} );
@@ -357,7 +362,10 @@
# Promise some kind of ordering
$self->OrderBy( FIELD => 'description' );
- $RT::Logger->debug("Found ".$self->Count. " scrips");
+ $RT::Logger->debug(
+ "Found ". $self->Count ." scrips for $args{'Stage'} stage"
+ ." with applicable type(s) $args{'Type'}"
+ );
}
# }}}
More information about the Rt-commit
mailing list