Re: Logwatch | Errorlines

From: Michael Grimm <trashcan_at_ellael.org>
Date: Fri, 28 Feb 2025 09:41:31 UTC
Jos Chrispijn <bsdpollux@cloudzeeland.nl> wrote:

> [Logwatch 7.12 01/22/25]
> Hi, I recently get the following error lines running Logwatch:
> *** Error: There is no logfile defined. Do you have a /usr/local/etc/logwatch/logfiles/zypp.conf file ?
> *** Error: There is no logfile defined. Do you have a /usr/local/etc/logwatch/logfiles/audit_log.conf file ?
> *** Error: There is no logfile defined. Do you have a /usr/local/etc/logwatch/logfiles/tivoli-smc.conf file ?
> *** Error: There is no logfile defined. Do you have a /usr/local/etc/logwatch/logfiles/freeradius.conf file ?

Thanks for reporting this. The port sysutils/logwatch needs an update on this. 

At my installation there are some more logfiles/*.conf missing.

I will prepare a fix for the port as the maintainer, but I cannot commit. Thus, it will take some days to fix that.

> Can you tell where I can config not using them? They are indeed not available in the directory.

After the upgrade they will be available ;-)

Until then you may 1) ignore those error messages or 2) just run those reports you are interested in:

logwatch.pl --detail XY --range yesterday --service ABC --service CDE …

Regards,
Michael