How to rotate tomcat log periodically based on size using log4j?
Issue
- How can I configure the tomcat logging system to create new log file in case of the current log reaches to a configurable limit size, or to create new file on daily basis, while the former file name will be renamed?
Environment
- Red Hat JBoss Web Server (JWS / EWS)
- 2.x
- 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.