How can I rotate a custom logfile using logrotate?
Issue
- I want weakly rotation of /var/log/custom.log file. How can I do this?
Environment
- Red Hat Enterprise Linux
- logrotate
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.