-
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
相关推荐
Rain的Java大神之路22 分钟前
Spring Boot 4 把自动配置拆成 47 个模块后,我的 `dependency:tree` 翻天了:一份从排查到治理的完整实战手册xurileidian2 小时前
第 17 篇 · 边玩边学Python · for 遍历 enumerate 与 zipMikko73 小时前
Redis 主从切换期间可用吗?6.2 实测哨兵切换:应用不可写 33 秒,主从连不上、数据不一致,以及设了 ACL 后哨兵不切换不得了zz3 小时前
11-Agent 可观测与评估:Spring AI Alibaba Admin Studio 到底解决了什么软件技术NINI3 小时前
基于 SpringBoot 的酒店预定系统田里的水稻4 小时前
FA_排序算法-冒泡排序会编程的吕洞宾6 小时前
Spring Cloud Gateway 限流鉴权与灰度发布实战AI开源软件7 小时前
SpringCloud+Nacos 业务协同落地:业务调用与集成中心远程管理如何分别配置sharemylove17 小时前
Java集合框架全面详解FYKJ_201017 小时前
springboot众创项目团队管理系统94666-计算机课程设计、毕业设计