Logrotate

http://blog.chinaunix.net/uid-113293-id-3474815.html

http://blog.chinaunix.net/uid-17240700-id-2813887.html

Syslog:

http://blog.csdn.net/needle2/article/details/6826523

原文地址:https://www.cnblogs.com/diyunpeng/p/5178974.html