[CentOS] CentOS-6 Logwatch 7.3.6 behaviour

Sat Sep 19 10:51:04 UTC 2015
Tony Mountifield <tony at softins.co.uk>

In article <d0000782c236fbee71045dad24a43def.squirrel at webmail.harte-lyne.ca>,
James B. Byrne <byrnejb at harte-lyne.ca> wrote:
> After some experimenting I have observed that overriding settings from
> /usr/share/logwatch/default.conf/logwatch.conf in
> /etc/logwatch/conf/logwatch.conf does not produce consistent results.
> For example, if I replace the default detail configuration in
> etc/logwatch/conf/logwatch.conf with:
> Detail = High
> It does indeed change the level of detail from the default Low set in
> /usr/share/logwatch/default.conf/logwatch.conf.
> However, if I comment out the line:
> #Service = "-zz-sys"         # Prevents execution of zz-sys service
> in the overridden file then the fact that this line remains in the
> default.conf version means that the sservice cannot be enabled to run
> by default without editing
> /usr/share/logwatch/default.conf/logwatch.conf.  Of course doing that
> means that any update clobbers the local changes.

Can you just add it back in /etc/logwatch/conf/logwatch.conf with:

Service = "zz-sys"

I haven't tried it, but it looks like Service lines are cumulative.

Tony Mountifield
Work: tony at softins.co.uk - http://www.softins.co.uk
Play: tony at mountifield.org - http://tony.mountifield.org