我的認爲就是修改/etc/logrotate.conf monthly的rotate 6就是半年weekly的rotate 4就是一個月啓動rsyslog服務就能夠生效了。暫時還沒試驗,先記錄一下。ide