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

Last Modified: Jul 24, 2020

Bug Tracker

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

Fixed In:
12.0.0

Opened: Feb 27, 2015
Severity: 3-Major

Symptoms

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.

Impact

Logs may be lost while the logrotate event is occurring.

Conditions

This can occur during logrotate.

Workaround

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