Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Perl Cvs P5ee > [svn:p5ee] r101...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 609 of 694
Post > Topic >>

[svn:p5ee] r10191 - p5ee/trunk/App-WorkQueue/lib/App

by spadkins@[EMAIL PROTECTED] Nov 7, 2007 at 02:12 PM

Author: spadkins
Date: Wed Nov  7 14:12:21 2007
New Revision: 10191

Modified:
   p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm

Log:
dump some log info when we get the ACQUISITION FAILED error

Modified: p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm
==============================================================================
--- p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm	(original)
+++ p5ee/trunk/App-WorkQueue/lib/App/WorkQueue.pm	Wed Nov  7 14:12:21 2007
@[EMAIL PROTECTED]
 -15,6 +15,8 @[EMAIL PROTECTED]
 use App;
 use App::Service;
 @[EMAIL PROTECTED]
 = ( "App::Service" );
+use Data::Dumper;
+$Data::Dumper::Terse = 1;
 
 use strict;
 
@[EMAIL PROTECTED]
 -504,6 +506,7 @[EMAIL PROTECTED]
                         my $context = $self->{context};
                         my $db = $self->_db();
                         $context->log("ACQUISITION FAILED :
shop_request_id[$entry->{shop_request_id}] :
subrequest_id[$entry->{subrequest_id}] :
request_status[$entry->{request_status}] : last sql stmt[$db->{sql}]\n");
+                        $context->log("entry : " . Dumper($entry) .
"\nentries : " . Dumper($entries));
                         $entry = undef;
                         # the following line appears to have been a bug
                        
#$self->_maintain_queue_buffers("release",$entry);




 1 Posts in Topic:
[svn:p5ee] r10191 - p5ee/trunk/App-WorkQueue/lib/App
spadkins@[EMAIL PROTECTED  2007-11-07 14:12:22 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed May 14 19:10:41 CDT 2008.