Finish ccollect-logwrapper.sh, without testing
This commit is contained in:
parent
c0c19d2598
commit
03a55f1b1f
1 changed files with 1 additions and 2 deletions
|
@ -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}: $@"
|
||||||
|
|
Loading…
Reference in a new issue