Bug#270455: [Logcheck-devel] Bug#270455: logcheck: Add Hostname as a config option

Todd Troxell ttroxell at debian.org
Fri Oct 1 21:04:21 UTC 2004


On Tue, Sep 07, 2004 at 03:28:38PM +0200, Joerg Jaspert wrote:
> PS: It would be very helpful if logcheck is able to expand variables in the
> logfile names.
> For example: DATE=`date -d today "+/%Y/%m/%d"`
> Filename: /var/log/hosts/foo/${DATE}/syslog

Could you not do this from cron with something like
logcheck -l /var/log/hosts/foo/`date -d today "+/%Y/%m/%d"`/syslog ?

Thanks for the patch by the way.

Cheers,
-- 
[   Todd J. Troxell                                         ,''`.
      Student, Debian GNU/Linux Developer, SysAdmin, Geek  : :' :
      http://debian.org || http://rapidpacket.com/~xtat    `. `' 
                                                             `-     ]





More information about the Logcheck-devel mailing list