-
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
相关推荐
جيون داد ناالام ميづ4 分钟前
七、MyBatis 源码剖析:核心流程拆解(初始化 + SQL 执行)ClkLog-开源埋点用户分析14 分钟前
【产品说明】【埋点分析】ClkLog 商业版 Java 运行环境安全更新说明秋饼18 分钟前
Spring Framework 7 内置弹性实战:@Retryable 语义翻转、虚拟线程流量放大与 LLM 网关治理RuoyiOffice31 分钟前
Flowable只是起点:一套OA背后的单据、资源与协作设计yuzhiboyouye1 小时前
《阿里巴巴 Java 开发手册》的 MySQL 核心规范秋饼2 小时前
Spring AI 2.0 渐进式工具披露实战:ToolSearchToolCallingAdvisor 源码机制、四种 ToolIndex 选型与多租户踩坑头发还在的女程序员5 小时前
家政小程序系统源码IM已读记录:多端阅读状态怎样保持单调推进Rain的Java大神之路6 小时前
别再背参数了:Kafka、RocketMQ、RabbitMQ 的设计取舍与生产级避坑指南Rain的Java大神之路6 小时前
LeetCode 42「接雨水」:面试官百出不厌的题,一文讲透从暴力到双指针 O(1)urkay-7 小时前
Android 线程池工具类与监控