forrest-svn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cross...@apache.org
Subject svn commit: r612744 - /forrest/zone/config/update-forrest-trunk.sh
Date Thu, 17 Jan 2008 07:51:13 GMT
Author: crossley
Date: Wed Jan 16 23:51:09 2008
New Revision: 612744

URL: http://svn.apache.org/viewvc?rev=612744&view=rev
Log:
Write a separate log for each hour of the day, to monitor the zone performance.

Modified:
    forrest/zone/config/update-forrest-trunk.sh

Modified: forrest/zone/config/update-forrest-trunk.sh
URL: http://svn.apache.org/viewvc/forrest/zone/config/update-forrest-trunk.sh?rev=612744&r1=612743&r2=612744&view=diff
==============================================================================
--- forrest/zone/config/update-forrest-trunk.sh (original)
+++ forrest/zone/config/update-forrest-trunk.sh Wed Jan 16 23:51:09 2008
@@ -23,7 +23,8 @@
 umask 0002
 export FORREST_HOME=/export/opt/forrest-trunk
 
-logfile=${CONFIG}/update-forrest-trunk.log
+logfn=`date "+update-forrest-trunk-%Y%m%d%H.log"`
+logfile=${CONFIG}/$logfn
 sender=dev\@forrest.apache.org
 #recipient=crossley\@apache.org               #TEST
 recipient=$sender



Mime
View raw message