-
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
相关推荐
lhldsg1 小时前
AI零售系统实战指南:从架构设计到落地部署全解析Interview Aid1121 小时前
TikTok OA 四题分享|半小时内 AC,题目基本都是实现题mldong1 小时前
换了工作流引擎,前端一行代码没改微尘寒风9 小时前
【Git】的安装和使用y = xⁿ10 小时前
DeepSeek Harness 学习日记:关于Agent接口,工具调用的底层实现侧耳倾听11110 小时前
jwt使用简介顶点多余11 小时前
那些在算法中适合巩固的知识点---1AI人工智能+电脑小能手11 小时前
大白话说Java设计模式-46-责任链模式(业务实战篇)jay神11 小时前
【计算机毕业设计】基于SpringBoot的程序教学辅助系统2601_9620664912 小时前
【Sql Server】Update中的From语句,以及常见更新操作方式