-
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 分钟前
我用SpringBoot撸了一个智慧水务监控平台xunyan62344 分钟前
面向对象(下)-接口的理解程序员游老板8 分钟前
基于SpringBoot3+vue3的爱心陪诊平台期待のcode10 分钟前
Springboot核心构建插件遥不可及~~斌13 分钟前
Java 面试题集 -- 001C1829818257542 分钟前
HttpURLConnection 与其他客户端关系通往曙光的路上1 小时前
发邮件1、创建邮箱麦麦鸡腿堡2 小时前
Java_类的加载JIngJaneIL2 小时前
基于java + vue校园快递物流管理系统(源码+数据库+文档)超级大只老咪2 小时前
数组的正向存储VS反向存储(Java)