Automatically deleting old logs when using periodic-rotating-file-handler
Issue
- Need a
max-backup-indexfeature onperiodic-rotating-file-handlerlikesize-rotating-file-handler? periodic-size-rotating-file-handlerwill limit the logs by index per item period, but beyond periods, it can grow indefinitely.- Automatically deleting log files older then a specified period of time when using
periodic-rotating-file-handler
Environment
- Red Hat JBoss Enterprise Application Platform (EAP) 6, 7
- Red Hat Single Sign-On 7
- Logging
- Rotating logs by size and date
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.