Index: trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher
===================================================================
--- trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 7914)
+++ trunk/MagicSoft/Mars/datacenter/scripts/scriptlauncher	(revision 7918)
@@ -30,6 +30,8 @@
 source `dirname $0`/sourcefile
 
-errorlog=$logpath/scriptlauncher/`date +%Y/%m`/error`date +%F`.log
-scriptslog=$logpath/scriptlauncher/`date +%Y/%m`/jobmanager`date +%F`.log
+sllogpath=$logpath/scriptlauncher/`date +%Y/%m`
+makedir $sllogpath
+errorlog=$sllogpath/error`date +%F`.log
+scriptslog=$logpath/scriptlauncher`date +%F`.log
 
 date  >> $scriptlog 2>&1
