[Logwatch] Weekly and monthly reports?

Anders Fosgerau anders.fosgerau at parkhoj.dk
Sun Oct 14 11:40:31 MST 2007


>
> Which seems to point to there not being a "weekly" option, sorry. You
> could wrap the call to logwatch with a bash script that could generated
> the between date1 and date2 style.
>

Perhaps not a week option, but then let's define a week as 7 days.

With Logwatch 7.3.4 on my FC7 box with the perl-DateManip-5.44-3.fc7 rpm and 
logwatch.conf containing "Range = -7 days", the output seems fine to me:

 ################### Logwatch 7.3.4 (02/17/07) ####################
        Processing Initiated: Sun Oct 14 04:49:50 2007
        Date Range Processed: -7 days
                              ( 2007-Oct-07 )
                              Period is day.

However the "Period is day" comment is a bit misleading... Except for this, 
logwatch seems to do a fine job (as always).

Regards,
Anders 



More information about the Logwatch mailing list