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

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP All(all modules)

Known Affected Versions:
12.1.0 HF1, 12.1.0 HF2, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

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

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips