-
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
相关推荐
devilnumber5 小时前
Java 递归算法 详解 + 核心要点 + 实战运用 + 避坑指南asdfg12589636 小时前
JavaBean是什么?怎么理解?有什么用途?摇滚侠8 小时前
SpringMVC 入门到实战 文件上传 75-77GIS数据转换器8 小时前
城市排水生命线安全运行监测平台深度解析华如锦9 小时前
面了很多 Java转AI Agent方向,一些面试题总结睡不醒男孩0308239 小时前
CLup 6.x 版本中针对StarRocks 存算一体集群的完整操作手册程序员黑豆10 小时前
Java中怎么实现字符串拼接呢【AI全栈开发】java1234_小锋10 小时前
LangChain4j 开发Java Agent智能体- 多模态支持艳阳天_.10 小时前
星瀚弹框页面实现