阅读背景:

Nginx access.log日志自动切割

来源:互联网 

第一:问题 Nginx的日志真的很大

[[email protected] logs]# ll -sh
total 1.5G
1.5G -rw-r--r-- 1 root root 1.5G Dec  7 18:32 access.log
 57M -rw-r--r-- 1 root root  56M Dec  7 18:25 error.log
4.0K -rwxrwxrwx 1 root root  468 Dec  7 18:27 nginxLogRotate.sh
4.0K -rw-r--r-- 1 root root    6 Dec  7 18:18 nginx.pid
[ log



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: