-
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
相关推荐
Fuly1024几秒前
软件研发类项目流程我命由我123451 分钟前
Android Jetpack Compose - TopAppBar、BottomAppBar、Scaffold我爱娃哈哈3 分钟前
SpringBoot + Aviator + 规则中心:轻量级表达式引擎实现营销优惠动态计算廋到被风吹走3 分钟前
【Spring】IoC容器深度解析:Bean生命周期与循环依赖三级缓存珂朵莉MM3 分钟前
2025年睿抗机器人开发者大赛CAIP-编程技能赛-高职组(国赛)解题报告 | 珂学家a努力。10 分钟前
虾皮Java面试被问:JVM Native Memory Tracking追踪堆外内存泄漏学习是生活的调味剂21 分钟前
Java IO模型之BIO和NIO分析笙枫30 分钟前
基于AI Agent框架下的能源优化调度方案和实践 |工具函数介绍(详细)我命由我1234531 分钟前
Android Studio - Android Studio 去除 import 的未使用的类