bgware: multilog ignores 2nd filter when using the 't' flag


Previous by date: 16 Nov 2020 14:49:28 -0000 Re: SRS / what next after vmailmgr ?, Olivier Mueller
Next by date: 16 Nov 2020 14:49:28 -0000 CHUNKING extension for mailfront, John R Levine
Previous in thread:
Next in thread:

Subject: multilog ignores 2nd filter when using the 't' flag
From: zoot ####@####.####
Date: 16 Nov 2020 14:49:28 -0000
Message-Id: <442431bc-d335-8522-a7dc-3a3ca8ee6e7f@zootzone.com>

Hi everyone

I'm trying to filter output into two log dirs, as follows:

qmail-send's full STDOUT stream to ./log/all/current

qmail-send's failure messages to ./log/fail/current

To achieve this, I've tried these various options (using backslash for 
better multi-line representation:

|multilog t \
      '+*' ./log/all \
      '-*' '+*failure:*Remote_host_said*' ./log/fail

|multilog t \
      ./log/all \
      '-*' '+*failure:*Remote_host_said*' ./log/fail

Neither of the above works for the 2nd match and log dir.

If I remove the 't' argument, both filters and their respective log 
outputs work:

|multilog \
      ./log/all \
      '-*' '+*failure:*Remote_host_said*' ./log/fail

This doesn't seem to match what the man page promises.

How am I to achieve this *with* timestamps included?

Thanks
zoot

Previous by date: 16 Nov 2020 14:49:28 -0000 Re: SRS / what next after vmailmgr ?, Olivier Mueller
Next by date: 16 Nov 2020 14:49:28 -0000 CHUNKING extension for mailfront, John R Levine
Previous in thread:
Next in thread:


Powered by ezmlm-browse 0.21.