How to rotate multiple log files in folder ?
Issue
- How to rotate every file in folder excluding a specified file, which should be deleted daily ?
- One log file should be deleted daily and all other files should be rotated.
Environment
- Red Hat Enterprise Linux
- Logrotate
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.