-
Installing Windows Service s will enable Apache rotatelogs by default.
- Refer CS17799for how to run Apache as Windowsservice.
-
Manually set Apache log rotation by following steps.
-
Execute the commands below within a Windchill Shell (substitute <Apache_Home> with the directory where Apache / PTC HTTPServer is installed):
*cd <APACHE_HOME> ant -f config.xml reconfigure -DRotateLogs=true -DRotateOnFileSize=false -DRotateTime=86400 -
DRotateTimeis in seconds - i.e 86400 is the value to specify 1 day
-
Alternatively, rotate by size with -DRotateOnFileSize=true and -DRotateSize=<size in MB>
-
Apache restart is required after this change
-
-
To disable the log rotation execute the commands below within a Windchill Shell (substitute <Apache_Home> with the directory where Apache / PTC HTTPServer is installed):
*cd <APACHE_HOME> ant -f config.xml reconfigure -DRotateLogs=false- Apache restart is required after this change
windchill apache 日志过大的问题解决方法(单个日志超过6G)
ptc学习者2024-07-19 20:45
相关推荐
SeeYa-J20 小时前
Sprint 1-2:创建第一个 Spring Boot Module(user-service)云絮.20 小时前
数据库事务格子软件20 小时前
2026年GEO优化系统源码级状态机与多模型调度拆解Full Stack Developme21 小时前
Java 漏斗算法 及应用场景从此以后自律21 小时前
Spring 全家桶偏爱自由 !21 小时前
一(0.1):配置git骑士雄师21 小时前
java面试记录: sychonized 锁,熔断组件,分布式锁有颜有货21 小时前
PMC生产排产的4种算法,一次讲清lilihuigz1 天前
Meta Box完整指南:WordPress自定义字段与内容框架高效构建结构化内容 - 易服客工作室