-
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
相关推荐
daidaidaiyu4 小时前
ThingsBoard 集群的核心逻辑源码分析我可能是个假开发5 小时前
FTP Unicode 文件名导致 `550` 的问题分析与解决方案caoerzhong5 小时前
中小企业上 WMS 该先上哪几块:JeeWMS 开源 Java 仓库管理系统的分批上线清单【JAVA】玩家6 小时前
Spring核心原理全解析:从零到生产实战Wang's Blog6 小时前
Java框架 SpringCloud 快速入门: 实现 Feign 最佳实践(抽取方式)MandalaO_O7 小时前
IDEA 开发(快捷键 + 调试 + 序列化)xiaoqiMikko8 小时前
JVM 线上排查实战(七):jps 看不见它、jstack 连不上它,可它明明活得好好的狼爷9 小时前
Rust/Go/Java/Python/PHP 大比拼:负载下后端框架到底差多少?念何架构之路9 小时前
zap扩展生态与总结第七页独白10 小时前
汽车零件厂如何通过 QMS 真正落地 IATF 16949——QMS软件系统:品质检验-内审稽核-8d客诉管理:全星质量管理软件系统