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
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.1.0b1 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)
2.0.0p18 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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