Index: trunk/ippScripts/scripts/magic_tree.pl
===================================================================
--- trunk/ippScripts/scripts/magic_tree.pl	(revision 20483)
+++ trunk/ippScripts/scripts/magic_tree.pl	(revision 20587)
@@ -34,5 +34,5 @@
 # Parse the command-line arguments
 my ($magic_id, $warp_id, $tess_id, $camera, $ra0, $dec0, $dbname, $outroot,
-    $save_temps, $verbose, $no_update, $no_op, $redirect);
+    $save_temps, $verbose, $no_update, $no_op, $logfile);
 GetOptions(
            'magic_id=s'      => \$magic_id,   # Magic identifier
@@ -48,5 +48,5 @@
            'no-update'       => \$no_update,  # Don't update the database?
            'no-op'           => \$no_op,      # Don't do any operations?
-           'redirect-output' => \$redirect,   # Redirect output?
+           'logfile=s'       => \$logfile,   # Redirect output?
            ) or pod2usage( 2 );
 
@@ -64,7 +64,5 @@
 $ipprc->define_camera($camera);
 
-my $logDest = $ipprc->filename("LOG.EXP", $outroot, $magic_id) or
-    &my_die("Missing entry from camera config", $magic_id, $PS_EXIT_CONFIG_ERROR);
-$ipprc->redirect_output($logDest) if $redirect;
+$ipprc->redirect_output($logfile) if $logfile;
 
 # Look for programs we need
