Re: Problems with logcheck.ignore rules
>>>>> "Hanasaki" == Hanasaki JiJi <hanasaki@hanaden.com> writes:
Hanasaki> I have the following three rules in my logcheck.ignore file.
Hanasaki> PAM_unix.*: \(imap\) session [opened, closed] for .*
Change this to:
PAM_unix.*: \(imap\) session (opened|closed) for
This can replace both your other rules.
The vertical bar `|' means `either the left or the right side', and
the parentheses specify the beginning and end of the choice.
Square brackets mean `one of these characters'.
Note: you don't have to put `.*' at the start or end or a regex: it's
implicit.
--
G. ``Iggy'' Geens - ICQ: #64109250
Home: <ggeens@iname.com> - Work: <guy.geens@cgey.be>
WWW: http://users.pandora.be/guy.geens/
`I want quality, not quantity. But I want lots of it!'
Reply to: