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

maks attems debian at sternwelten.at
Sat Sep 18 22:17:08 UTC 2004


On Tue, 07 Sep 2004, Joerg Jaspert wrote:

> Package: logcheck
> Severity: wishlist
> 
> Hi
> 
> Pasted below is a small diff that lets you set the hostname for the mail
> with a switch on the commandline. Helps in system where a central log host
> gets the logs for all hosts.

thanks added to current logcheck cvs, will be in next logcheck version,
don't know if it will reach sarge through ;)
 
> 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
> 
> Helps with systems that sort the logfiles in daily subdirs (the easiest logrotating
> you can have).

hmm that makes sense there for leaving the bug open.

--
maks






More information about the Logcheck-devel mailing list