Changeset 2838 for WAeUP_SysConf/logging/trunk
- Timestamp:
- 3 Dec 2007, 00:09:39 (17 years ago)
- Location:
- WAeUP_SysConf/logging/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SysConf/logging/trunk/etc/default/updatelogdb
r2826 r2838 17 17 18 18 EVENT_LOG="/zope/instances/srp-log/event.log /zope/instances/srp-log/event-staff.log" 19 AWKZEVENT=/usr/local/lib/zevents.awk 19 PYZEVENT=/usr/local/lib/zevents.py 20 20 -
WAeUP_SysConf/logging/trunk/usr/local/sbin/updatedb_zevents.sh
r2826 r2838 23 23 24 24 EVENT_LOG=event.test.log 25 AWKZEVENT=zevents.awk 25 PYZEVENT=zevents.py 26 26 27 27 ## Read true values... … … 36 36 #fi 37 37 38 if [ ! -r $ AWKZEVENT ]; then39 echo "File not readable: $ AWKZEVENT";38 if [ ! -r $PYZEVENT ]; then 39 echo "File not readable: $PYZEVENT"; 40 40 exit -1; 41 41 fi 42 cat $EVENT_LOG | gawk -v SQL=1 -f $AWKZEVENT | psql -h $HOST -d zevents -U $USER > /dev/null 2>&142 cat $EVENT_LOG | python $PYZEVENT | psql -h $HOST -d zevents -U $USER > /dev/null 2>&1 43 43
Note: See TracChangeset for help on using the changeset viewer.