Changeset 1405

Show
Ignore:
Timestamp:
02/23/08 01:33:01 (5 months ago)
Author:
bchoate
Message:

Display information about which job is actively publishing (along with any priority assignment) in debug output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/release-30/lib/MT/Worker/Publish.pm

    r1343 r1405  
    3636 
    3737    my $sync = MT->config('SyncTarget'); 
    38  
    3938    my $throttles = $mt->{throttle} || {}; 
    40     MT::TheSchwartz->debug($mt->translate("Publishing: [quant,_1,file,files]...", scalar(@jobs))); 
    4139 
    4240    my $start = [gettimeofday]; 
     
    5250            next; 
    5351        } 
     52 
     53        my $priority = $job->priority ? ", priority " . $job->priority : ""; 
     54        $job->debug("MT::Worker::Publish publishing " . $fi->file_path . "$priority"); 
    5455 
    5556        # Important: prevents requeuing!