-
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
相关推荐
豆瓣鸡23 分钟前
算法日记 - Day3萧瑟余晖38 分钟前
Java深入解析篇九之NIO详解The Chosen One9851 小时前
高进度算法模板速记(待完善)极光代码工作室3 小时前
基于SpringBoot的课程预约系统Leighteen4 小时前
`try-finally` 里的 `return`:为什么 `finally` 会悄悄改掉返回值、吞掉异常名字还没想好☜4 小时前
Go 的 time.After 在 select 循环里内存泄漏:定时器堆积原理与 timer.Reset 正确姿势圆山猫5 小时前
[Virtualization](三):RISC-V H-extension 与 Guest 执行模式caishenzhibiao5 小时前
期货先行者主图 同花顺期货通指标史呆芬5 小时前
分布式事务实战:微服务跨服务数据一致性解决方案IT界的老黄牛5 小时前
限流命中后该怎么办:直接丢、阻塞等待、延迟重投三种姿势的取舍