2019-11-27
1、可以通過降低log級別的辦法來減少日志讀寫。
編輯conf文件夾下的httpd.conf,找到如下內容:
```shell
#
# LogLevel: Control the number of messages logged to the error_log.
# Possible values include: debug, info, notice, warn, err.....
2019-10-11
找到httpd.conf
找到這兩句修改成下面語句
```shell
ErrorLog "|/httpd-xxxx/bin/rotatelogs /httpd-xxx/logs/log/error-%Y-%m-%d.log 86400 480"
CustomLog "|/httpd-xxxx/bin/rotatelogs /httpd-xxxx/logs/log/access_lo.....
2019-10-10
------------
httpd.conf
查找
Include conf/extra/httpd-default.conf
把前面#去掉,并修改文件為
ServerTokens Prod
ServerSignature off
------------.....