Finish ccollect-logwrapper.sh, without testing

This commit is contained in:
Nico Schottelius 2007-08-20 17:35:37 +02:00
parent c0c19d2598
commit 03a55f1b1f

View file

@ -4,8 +4,6 @@
# Date: Fr 8. Jun 10:30:24 CEST 2007 # Date: Fr 8. Jun 10:30:24 CEST 2007
# Call the log-wrapper instead of ccollect.sh and it will create nice logs # Call the log-wrapper instead of ccollect.sh and it will create nice logs
Analyses output produced by ccollect.
# #
# where to find our configuration and temporary file # where to find our configuration and temporary file
# #
@ -20,6 +18,7 @@ pid=$$
logfile="${logdir}/$(${CDATE}).${pid}" logfile="${logdir}/$(${CDATE}).${pid}"
# use syslog normally # use syslog normally
# Also use echo, can be redirected with > /dev/null if someone cares
_echo() _echo()
{ {
logger "${we}-${pid}: $@" logger "${we}-${pid}: $@"