Thank you. I was still guessing if my understanding
was correct about !, !!, + and ++ being respectively same
but for prog vs host.
It is nice to have ti clarified.
On Thursday, March 9, 2023 at 06:16:04 p.m. GMT+9, Paul de Weerd <weerd@weirdnet.nl> wrote:
On Thu, Mar 09, 2023 at 04:00:24AM +0000, All wrote:
| Right.
| That is what I was suspecting. I did use wildcard, but some hosts
| use completely different fqdns, so...
| Anyway, thank you and blocks per host it is then.
|
| One question.
| What is the difference between ++host and +host?
Same effect as !prog vs !!prog, as mentioned in the documentation:
"work the same way as their prog counterparts". Again, from the same
syslog.conf(5) manpage:
> !!prog causes the subsequent block to abort evaluation when a message
> matches, ensuring that only a single set of actions is taken. !* can be
> used to ensure that any ensuing blocks are further evaluated (i.e.
> cancelling the effect of a !prog or !!prog).
Please carefully read that page, it has all the information you need.
Cheers,
Paul 'WEiRD' de Weerd
--
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
http://www.weirdnet.nl/
No comments:
Post a Comment