Catch up on the latest product updates, best practices, and expert insights from the Checkmk Conference #12 – Watch the livestream recordings now

Werk #19151: OTel: Rotate the collector log file

Component Site management
Title OTel: Rotate the collector log file
Date Oct 7, 2026
Level Trivial Change
Class Bug Fix
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
3.0.0b1
Not yet released
Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT
2.5.0p16
Not yet released
Checkmk Ultimate, Checkmk Cloud, Checkmk Ultimate MT

Previously, the log file of the OpenTelemetry collector, ~/var/log/otel-collector.log, was never rotated and kept growing indefinitely. The logrotate configuration of the site pointed to a non-existent directory instead of the actual log file.

The collector log is now rotated like the other site logs. This also applies to log files that already exist in your site, once you update it to a version containing this fix.

The log is rotated with copytruncate, so the running collector keeps writing to the active log file without needing a restart.

To the list of all Werks