Index: trunk/ippTasks/phase0.pro
===================================================================
--- trunk/ippTasks/phase0.pro	(revision 11323)
+++ trunk/ippTasks/phase0.pro	(revision 11346)
@@ -119,9 +119,11 @@
 
     ## generate output log based on filerule XXX put this in a function?
-    $outroot = $WORKDIR/$EXP_TAG
-    $logfile = `ipp_filename.pl PHASE0.LOG $outroot $CLASS_ID`
+    $outroot = `ipp_datapath.pl $WORKDIR`
+    $outroot = $outroot/$EXP_TAG
+    # $logfile = `ipp_filename.pl PHASE0.LOG $outroot $CLASS_ID`
+    $logfile = $outroot/$EXP_TAG.$CLASS_ID.p0.log
     stdout $logfile
     stderr $logfile
-    exec mkdir -p $WORKDIR
+    exec mkdir -p $outroot
 
     # save the pageName for future reference below
@@ -224,9 +226,10 @@
 
     ## generate output log based on filerule
-    $outroot = $WORKDIR/$EXP_TAG
-    $logfile = `ipp_filename.pl PHASE0.LOG $outroot FPA`
+    $outroot = `ipp_datapath.pl $WORKDIR`
+    $outroot = $outroot/$EXP_TAG
+    $logfile = $outroot/$EXP_TAG.p0.log
     stdout $logfile
     stderr $logfile
-    exec mkdir -p $WORKDIR
+    exec mkdir -p $outroot
 
     # save the pageName for future reference below
