apacheのログ設定メモ /etc/logrotate.confファイルの修正
[root@cnserver2 etc]# cat /etc/logrotate.conf
# see "man logrotate" for details
# rotate log files weekly
#weekly ← weekly 毎週ログを置き換える。毎日はdaily、毎月はmonthly
daily
# keep 4 weeks worth of backlogs
#rotate 4 ← rotate 4 ログを4世代分残す。weeky を指定した場合は4週間という意味
rotate 2
# uncomment this if you want your log files compressed
#compress ← 圧縮する。デフォルトでは圧縮しないようになっている