windchill apache 日志过大的问题解决方法(单个日志超过6G)
创始人
2024-12-27 05:34:45
0次
- Installing Windows Services will enable Apache rotatelogs by default.
- Refer CS17799 for how to run Apache as Windows service.
- Manually set Apache log rotation by following steps.
- Execute the commands below within a Windchill Shell (substitute with the directory where Apache / PTC HTTPServer is installed):
- DRotateTime is in seconds - i.e 86400 is the value to specify 1 day
- Alternatively, rotate by size with -DRotateOnFileSize=true and -DRotateSize=
- Apache restart is required after this change
- To disable the log rotation execute the commands below within a Windchill Shell (substitute with the directory where Apache / PTC HTTPServer is installed):
相关内容