Bug#295560: logcheck: Please include filename when reporting invalid regular expression

2005-02-17 Thread Frank Küster
Jamie L. Penman-Smithson [EMAIL PROTECTED] wrote: If you run logcheck in debug mode you'll be able to find out which file the error is in. For example, I added this to ignore.d.server/logcheck: ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ foobar\[[0-9]+\]: test (foo test$ Running logcheck -otd

Bug#295560: [Logcheck-devel] Bug#295560: logcheck: Please include filename when reporting invalid regular expression

2005-02-17 Thread Todd Troxell
On Thu, Feb 17, 2005 at 10:15:24AM +0100, Frank Küster wrote: What I suggest is that for each egrep over the filter files, you check whether the return value is 2, and if yes send a message to stderr: logcheck found an invalid regular expression in file $file (ideally with the temporary