Werk #5503

KomponenteAgent Bakery
Titelcmk-update-agent: Convenient logging on Linux
Datum2018-07-10 08:03:36
Check_MK EditionCheck_MK Enterprise Edition (CEE)
Check_MK Version1.6.0i1,1.5.0b9
Level1 - Trivial Change
KlasseNew Feature
KompatibilitätKompatibel- benötigt keine manuelles eingreifen

The Agent Updater now makes use of its logging capabilities more conveniently. Only ERRORs and WARNINGs will be logged to syslog.

Additionally, a detailed log will be created at /var/lib/check_mk_agent/cmk-update-agent.log when running as plugin. It will be rotated every 5MB with a maximum of 3 backups. This improves our capabilities for an a-posteriori error analysis.

When running cmk-update-agent manually, a logfile can be specified using the -l flag.