Bug ID 509616: Logs may be lost during log file rotation.

Last Modified: Nov 22, 2021

Bug Tracker

Affected Product:  See more info
BIG-IP All(all modules)

Fixed In:

Opened: Feb 27, 2015
Severity: 3-Major


During log file rotation (whose frequency is variable based on the file, daemon, and load), logs may be lost between the time when logrotate performs its rotation and the daemons are signaled to start writing to new files.


Logs may be lost while the logrotate event is occurring.


This can occur during logrotate.


Important logs may be forwarded off-box.

Fix Information

This fix changes the logrotate scripts such that the 'active' log files at the time of the rotate are renamed but not compressed. This gives daemons the opportunity to continue writing to their log files without loss of data. The compression is postponed until the subsequent log rotation. This uses slightly more disk space, but avoids log loss.

Behavior Change