logwatch customizing?
Tom Horsley
tom.horsley at att.net
Mon Mar 1 13:36:38 UTC 2010
On Mon, 1 Mar 2010 14:08:17 +0100
Chris Rouch wrote:
> Did you already copy it to the same directory under /etc/logwatch?
> Logwatch looks there for local changes.
Nah, I edit the file directly because if I make a local copy, I
don't get any updates (of course updates kill my changes, but I've
never had any problem re-applying them before).
For reasons I can't understand, I was able to make my change
happen by moving it into the chunk of code where it gathers
"unmatched" lines. I just discard it there instead of discarding
it earlier (which should have worked since it always did in the
past).
Maybe what I really need to do is put a local filter in /etc/logwatch
that discards all the lines I don't want to see, gthen runs the
rest through th
More information about the users
mailing list