IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Oct 25, 2007, 4:59:43 PM (19 years ago)
Author:
Paul Price
Message:

For important programs, send the trace and log messages to appropriate places.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/chip_imfile.pl

    r14488 r15387  
    111111my $outputStats = $ipprc->filename("PPIMAGE.STATS",     $outputRoot, $class_id) or &my_die("Missing entry from camera config", $exp_id, $chip_id, $class_id, $PS_EXIT_CONFIG_ERROR);
    112112
     113my $traceDest = 'file:' . $ipprc->file_resolve($outputRoot) . "$class_id.trace"; # Trace messages
     114my $logDest = 'file:' . $ipprc->file_resolve($outputRoot) . "$class_id.log"; # Log messages
     115
    113116# Run ppImage
    114117unless ($no_op) {
     
    118121    $command .= " -stats $outputStats";
    119122    $command .= " -dbname $dbname" if defined $dbname;
     123    $command .= " -tracedest $traceDest -log $logDest";
    120124
    121125    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
Note: See TracChangeset for help on using the changeset viewer.