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?
Asked
Active
Viewed 243 times
1 Answers
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
-
Thanks, will check it out. Hopefully the documentation is better than for logwatch! – Ghopper21 Apr 23 '15 at 12:29