Werk #13567: Raise in debug only if no cfg was found (mk_logwatch)

Component Checks & agents
Title Raise in debug only if no cfg was found (mk_logwatch)
Date Dec 7, 2021
Checkmk Editon Checkmk Raw (CRE)
Checkmk Version 2.0.0p18 2.1.0i1
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed

mk_logwatch.py was raising IOError in debug mode although a logwatch.cfg existed in either logwatch.d or MK_CONFDIR. It is now only raising if no configuration at all was found.

To the list of all Werks