Article - CS320496
How to Configure Apache Tomcat Log Rotation for ThingWorx Platform
Modified: 16-Oct-2024
Applies To
- ThingWorx Platform 8.1 to 9.6
- Apache Tomcat
- Microsoft Windows
- Linux
Description
- Logs in <tomcat_home>\logs folder can grow to several GB in size consuming lots of disk space
- How to rotate Apache Tomcat logs to keep them to a manageable size
- Tomcat log rollover based on size
- How to configure rollover of Tomcat logs
- How to configure log rotation for log files contained in <tomcat_home>\logs (list varies between Windows and Linux):
- catalina
- commons-deamon
- host-manager
- localhost
- manager
- tomcat<8 or 9>-stderr
- tomcat<8 or 9>-stdout
- localhost_access_log
This is a printer-friendly version of Article 320496 and may be out of date. For the latest version click CS320496