logwatch gives no output if used with option --range yesterday (or --range today). It works only with range all. Reproducible: Always Steps to Reproduce: 1. # emerge logwatch 2. # logwatch.pl --range yesterday --print Actual Results: No output is printed Expected Results: Print logs analysis The system logger installed is syslog-ng
In /etc/log.d/scripts/shared/applystddate $SearchDate needs an ucfirst: $SearchDate = ucfirst($SearchDate); because syslog-ng creates dates with initial uppercase. Maybe other config files require the same.
post a patch for 6.0.2 please
Please try logwatch-6.1.2, which contains significant enhancement of the --range option. You can get help for it with: logwatch.pl --range help I've provided an ebuild and patch for logwatch-6.1.2 on bug #96362. If it works for you, add a comment saying so on that bug, so the committers are more likely to look at it. :-)
if 6.1.2 still is an issue please send an e-mail to logwatch-bugs@logwatch.org