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/camera_exp.pl

    r14334 r15387  
    166166my $fpaObjects = $ipprc->filename("PSASTRO.OUTPUT.MEF", $outputRoot); # MEF psastro output
    167167
     168my $traceDest = 'file:' . $ipprc->file_resolve($outputRoot) . ".trace"; # Trace messages
     169my $logDest = 'file:' . $ipprc->file_resolve($outputRoot) . ".log"; # Log messages
     170
    168171# convert supplied DVO database name to UNIX filename
    169172my $dvodbReal;
     
    208211            my $command = "$psastro -list $list3Name $outputRoot +mosastro -chipastro " .
    209212                "-F PSASTRO.OUTPUT PSASTRO.OUTPUT.MEF";
     213            $command .= " -tracedest $traceDest -log $logDest";
    210214            my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    211215                run(command => $command, verbose => 1);
Note: See TracChangeset for help on using the changeset viewer.