Forum Discussion
amintej
Cirrus
May 12, 2017Rotate custom logs
Hello,
We have an external monitor configured for writing logs in the next file /var/log/cwi.log We realized this log is not rotating but /var/log/ltm or /var/log/audit are rotating. Do you know...
Leonardo_Souza3
Nimbostratus
May 12, 2017In theory, all files in /var/log are rotated.
From /etc/cron.daily/logrotate in 12.0.0:
logrotate enhance
- remove log files according to the time stamp
- call logrotate to rotate log files.
- assume log files reside in /var/log
Maybe the file is too small to require rotation.
You can view and change the logrotate settings with this command:
tmsh
edit sys log-rotate all-properties
This solution also provides some information about this topic:
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects