IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Sep 9, 2011, 11:05:10 AM (15 years ago)
Author:
bills
Message:

Use redirect_to_logfile

File:
1 edited

Legend:

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

    r31043 r32379  
    5454
    5555my $ipprc = PS::IPP::Config->new() or my_die( "Unable to set up", $exp_id, $PS_EXIT_CONFIG_ERROR );
    56 $ipprc->redirect_output($logfile) or my_die( "Unable to redirect output", $exp_id, $PS_EXIT_SYS_ERROR ) if $logfile;
     56$ipprc->redirect_to_logfile($logfile) or my_die( "Unable to redirect output", $exp_id, $PS_EXIT_SYS_ERROR ) if $logfile;
    5757
    5858pod2usage( -msg => "Unknown option: @ARGV", -exitval => 2 ) if @ARGV;
Note: See TracChangeset for help on using the changeset viewer.