-
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
相关推荐
Flynn Liang29 分钟前
RAG 评估体系:黄金集、检索指标与 LLM-as-Judge 落地SimonKing2 小时前
Workbuddy太占C盘空间了,写个迁移工具迁走10G的数据Hvitur2 小时前
Java - Lambdaapcipot_rain7 小时前
C++转Java日记(06)金銀銅鐵12 小时前
带您看懂字节码指令(一):一帧里有什么nice_lcj52014 小时前
【从零理解 Spring AI · 14】RAG 的四个环节:加载、切分、向量化、检索学长毕设15 小时前
基于springboot科创竞赛信息平台-附源码聪明的笨猪猪16 小时前
Java 工程案例:AI 生成 @Async 异步线程池踩坑学长毕设16 小时前
基于SpringBoot公务员考试交流平台-附源码SL_staff18 小时前
私有化低代码:面向强监管行业的可控数字化实践