Werk #8642

Komponentecmc
TitelReworked logging configuration of the Check_MK Microcore
Datum2016-12-01 12:56:13
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.4.0i3
Level1 - Trivial Change
KlasseNew Feature
KompatibilitätIncompatible - Manual interaction might be required

The logging configuration of the Check_MK Microcore has been reworked to be configured in a single setting. The log levels have been unified for all these log domains.

Thes configuration options have been deprecated:

  • cmc_log_level: Logging
  • cmc_livestatus_debug: Logging of Livestatus queries
  • cmc_debug_alerts: Logging of the alert processing in the core

The attribute log_level has been removed from cmc_log_cmk_helpers which is now only used to toggle the debug mode of the Check_MK helpers.

The new option is cmc_log_levels (Logging of the core).

The incompatibility is that, if you have configured custom log leves with the options mentioned above before, they are not effective anymore. You will have to set the log levels again using the new option.

In most cases it should be no problem that the log levels are reset, because they are mostly only used for a short time during debugging actions.