From cd48e0530a5de0a00f1af5485d65e1f0bc2d07e8 Mon Sep 17 00:00:00 2001 From: Louwrentius Date: Tue, 10 Mar 2009 22:04:13 +0000 Subject: [PATCH] Cleaned up some logging. --- branches/distributed-ppss/ppss.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/branches/distributed-ppss/ppss.sh b/branches/distributed-ppss/ppss.sh index abbd036..ec7116f 100755 --- a/branches/distributed-ppss/ppss.sh +++ b/branches/distributed-ppss/ppss.sh @@ -459,9 +459,9 @@ init_vars () { rm $LOGFILE fi - log DEBUG "---------------------------------------------------------" + log INFO "---------------------------------------------------------" log INFO "$SCRIPT_NAME version $SCRIPT_VERSION" - log DEBUG "---------------------------------------------------------" + log INDO "---------------------------------------------------------" log INFO "Hostname: $HOSTNAME" if [ -z "$COMMAND" ] @@ -492,15 +492,15 @@ init_vars () { MAX_NO_OF_RUNNING_JOBS=`get_no_of_cpus $HYPERTHREADING` fi - log DEBUG "---------------------------------------------------------" + log INFO "---------------------------------------------------------" does_file_exist "$JOB_LOG_DIR" if [ ! "$?" == "0" ] then - log INFO "Job log directory $JOB_lOG_DIR does not exist. Creating." + log DEBUG "Job log directory $JOB_lOG_DIR does not exist. Creating." exec_cmd "mkdir $JOB_LOG_DIR" else - log INFO "Job log directory $JOB_LOG_DIR exists, skipping items for which logs are present." + log DEBUG "Job log directory $JOB_LOG_DIR exists." fi does_file_exist "$ITEM_LOCK_DIR"