-
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
相关推荐
都叫我大帅哥5 小时前
Java JJWT 完全指南:从入门到生产级实践前端开发张小七6 小时前
Java 学习笔记 · 第一课:基础语法与核心概念ThsPool7 小时前
【ENVI二次开发学习整理 04】ENVI功能扩展与二次开发赤壁小虾7 小时前
【渲染流水线】[逐片元阶段]-[透明度测试]以UnityURP为例青山木8 小时前
Hot 100 --- 搜索插入位置Jul1en_8 小时前
【Claude Code Compact】源码级别的学习上下文压缩摇滚侠9 小时前
《SpringBoot 3:入门与应用实战》第 15 章 生产级特性 管理 Spring Boot 应用 阅读笔记XWalnut9 小时前
SpringBoot快速入门前端 贾公子9 小时前
第06章:结构化输出 (上)念何架构之路9 小时前
restartmanager-重启管理子系统