On Wed, 03 Nov 2010 23:37:52 +0100, Hanspeter Kunz <[email protected]> wrote: > On Wed, 2010-11-03 at 15:32 -0700, Nigel Kersten wrote: > > On Wed, Nov 3, 2010 at 2:30 PM, Hanspeter Kunz <[email protected]> wrote:
> > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]:
> > > \(Scope\(Class\[main\]\)\) Configuring [._[:alnum:]-]+ using environment
> > > [._[:alnum:]-]+$
I do not see the above line in my logs, are you actually seeing this? If
so, do you know what is causing it to appear?
> > > ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ puppet-master\[[0-9]+\]: Compiled
> > > catalog for [._[:alnum:]-]+ in environment [._[:alnum:]-]+ in
> > > [.[:digit:]]+ seconds$
I think this should be added. I actually locally added it to my own
logcheck rules.
> > Lots of people use these log lines to gather metrics on compilation
> > time and environment count.
>
> sure, there is noting wrong with have those lines in the log.
Yeah, I agree.
> > Can you elaborate why you think they should be ignored?
>
> my suggestion is, that logcheck should ignore those lines. This will not
> affect gathering any metrics.
Agreed, should be ignored by logcheck, but still used for
metrics/reports or whatever. This change only removes the lines from
logcheck reports.
micah
pgpf3ZDgF2hLJ.pgp
Description: PGP signature

