「Apache のログのローテート」 の通り。
sudo port install logrotate sudo cp -p /opt/local/share/logrotate/logrotate.conf.example /opt/local/etc/logrotate.conf sudo vi /opt/local/etc/logrotate.conf sudo cp -p /opt/local/share/logrotate/org.macports.logrotate.plist.example /Library/LaunchDaemons/org.macports.logrotate.plist sudo vi /Library/LaunchDaemons/org.macports.logrotate.plist |