1

Is there a way to get logwatch, instead of always sending a daily report, to only email a report when there is a problem, i.e. the filtered logs aren't empty?

Ghopper21
  • 113
  • 10

1 Answers1

1

This isn't exactly the answer you want, but: use logcheck instead. It does exactly that (filters out all normal logs and only e-mails anything leftover).

Craig Miskell
  • 4,216
  • 1
  • 16
  • 16