Bug ID 1246253: Control log rotation in restnoded.log

Last Modified: Apr 17, 2024

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

Known Affected Versions:
15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4

Opened: Feb 20, 2023

Severity: 3-Major

Symptoms

Due to the limited log rotation settings of 1MB x 20 files, troubleshooting a bug is delayed.

Impact

Log rotation’s current static configuration is preventing/delaying troubleshooting. Issues are observed in collecting data for troubleshooting a bug.

Conditions

Using Telemetry Streaming with debug enabled to record high number of messages to restnoded.log.

Workaround

Remount /usr to read+write and edit the restnode.js file's cli.main() to pass these two additional variables from the command line. After this change, f5-rest-node will accept the command line arguments -z and -e to change the log rotation settings. The daemon startup script /var/service/restnoded/run must also be modified to add the -z and -e options to override the maxFiles and maxFileSize options.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips