开发者

Remove old error log files

error_log files in /var/log/httpd/ are consuming a lot of disk space.

There are error_log.1, error_log.2 files开发者_运维知识库 as well. I will like to delete the old files automatically and keep only the current one.


You might want to investigate logrotate.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜