Werk #14606: Agent Bakery: Optionally log to dedicated logfile

Component Setup
Title Agent Bakery: Optionally log to dedicated logfile
Date Aug 5, 2022
Checkmk Edition Checkmk Enterprise (CEE)
Checkmk Version 2.1.0p10 2.2.0b1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

It's now possible to activate logging for the agent bakery. When activated at Global Settings - Setup - Agent bakery logging, the agent bakery will log messages to ~/var/log/agent_bakery.log, with the selected loglevel. This is applies equally to bakery jobs invoked via GUI or via command line.

Without activated logging, baking details are still available on the command line when baking with command cmk --bake-agents -v as a site user. Also, when baking on the GUI, on failure, error details are propagated to the executing background job as they already used to be.

To the list of all Werks