[Logwatch-Devel] Date arithmetic

Kenneth Porter shiva@sewingwitch.com
Tue, 04 Nov 2003 22:58:01 -0800

I seem to recall a discussion a few months back about whether to start using
Perl date-parsing modules to do better date recognition and arithmetic on log
files. What's the current position on that?

I'd like to see something like Date::Manip used so that "yesterday" really
means the last 24 hours, no matter what time of day logwatch is run. This
could also make it easier to parse files not written by syslog. (I'm thinking
named, but I'm sure there are others, perhaps httpd.)