IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 39912


Ignore:
Timestamp:
Jan 4, 2017, 10:16:26 AM (10 years ago)
Author:
watersc1
Message:

Use the redirect_to_logfile call instead of redirect_output. This
does the auto log rolling for retries, which will make debugging
easier (as the log name is deterministic).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tags/ipp-20150312/ippScripts/scripts/rawcheck.pl

    r39911 r39912  
    4949if ($save_log) {
    5050    my $time = time();
    51     my $logDest = "neb://any/raw_check/exp_${exp_id}.${time}";
     51    my $logDest = "neb://any/raw_check/exp_${exp_id}";
    5252    my $ipprc = PS::IPP::Config->new( "GPC1" ) or die "Could not create config object.\n";
    53     $ipprc->redirect_output($logDest) or die "Could not redirect output to logfile ${logDest}\n";
     53    $ipprc->redirect_to_logfile($logDest) or die "Could not redirect output to logfile ${logDest}\n";
    5454}
    5555
Note: See TracChangeset for help on using the changeset viewer.