Skip to content

Rotating container log files

When a Control Center internal service has to stop unexpectedly, it writes the last 1000 lines of its log data to a file named /tmp/Docker-ID.container.log. Over time, the log files could fill the /tmp area. Zenoss recommends implementing a log file rotation strategy to avoid filling /tmp.