Prepend purger output with Common Logging Format niceties
authorZdeněk Šustr <sustr4@cesnet.cz>
Wed, 2 Nov 2011 13:50:28 +0000 (13:50 +0000)
committerZdeněk Šustr <sustr4@cesnet.cz>
Wed, 2 Nov 2011 13:50:28 +0000 (13:50 +0000)
org.glite.lb.yaim/config/functions/config_glite_lb.in

index 8a02c45..9f0fbd1 100644 (file)
@@ -314,7 +314,7 @@ EOF
 HOME=/
 MAILTO=$SITE_EMAIL
 
-1 1 * * * $GLITE_USER . @glite_etc@/profile.d/grid-env.sh ; export GLITE_LB_EXPORT_BKSERVER=$HOSTNAME; $purge_target_runtime_cmd$GLITE_LB_LOCATION/sbin/glite-lb-export.sh >> $logfile 2>&1
+1 1 * * * $GLITE_USER . /etc/profile.d/grid-env.sh ; export GLITE_LB_EXPORT_BKSERVER=$HOSTNAME; printf "\`date "+%b %e %T"\` \`hostname -s\` \$0: "; $purge_target_runtime_cmd$GLITE_LB_LOCATION/sbin/glite-lb-export.sh >> $logfile 2>&1
 EOF
 
   touch $logfile