filter with pipe, bogus message
Allan Wind
allanwind at lifeintegrity.com
Mon Feb 10 08:23:11 CET 2003
First, thanks for bringing us lire (1.1 in my case)! I am trying to
work around an issue with boa[1] and therefor need a filter with a
pipe as follows from www.daily.combined.1.local:
superservice=www
service=combined
log=/var/log/boa/access.log.1.gz
filter="(zcat | sed 's/[^ ]* \(.*\)/\1/')"
if test -r /etc/lire/cron.defaults.local
then
. /etc/lire/cron.defaults.local
fi
which, when run, result in the following error:
Feb 10 01:33:32 pawan lire: bogus message: /usr/bin/lr_run: line 48:
(zcat | sed 's/[^ ]* (.*)/1/'): No such file or directory
as lr_run has the following magic (suggest documenting that one):
"$@" 2>&1 1>&3 3>&- | {
Why is $@ quoted? Can you suggest a work-around so I can get the effect
of the above filter without having to hack lr_run?
[1] boa breaks combined format when using virtual hosts in that the IP
of the interface is prefixed.
/Allan
--
Allan Wind
P.O. Box 2022
Woburn, MA 01888-0022
USA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.logreport.org/pipermail/questions/attachments/20030210/baae26f3/attachment.bin
More information about the Questions
mailing list