Werk #14606: Agent Bakery: Optionally log to dedicated logfile
Komponente | Setup |
Titel | Agent Bakery: Optionally log to dedicated logfile |
Datum | 05.08.2022 |
Checkmk-Edition | Checkmk Enterprise (CEE) |
Checkmk-Version | 2.2.0b1 2.1.0p10 |
Level | Bedeutende Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
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.