Great stuff Brian. Thanks for contributing.
Brian Lynch wrote:
For anyone using 'logrotate', the following file will rotate all the hobbit logs. Create the file as logrotate.cfg:
Configuration file for logrotate application
Add the following line to cron:
0 8 * * * /usr/sbin/logrotate [hobbit directory]/server/etc/logrotate.cfg
Global options
compress
/var/log/hobbit/bbcombotest.log { missingok weekly rotate 5 }
/var/log/hobbit/bb-display.log { missingok weekly rotate 5 }
/var/log/hobbit/bb-retest.log { missingok weekly rotate 5 }
/var/log/hobbit/enadis.log { missingok weekly rotate 5 }
/var/log/hobbit/history.log { missingok weekly rotate 5 }
/var/log/hobbit/hobbitd.log { missingok weekly rotate 5 postrotate /bin/kill -HUP
cat /var/log/hobbit/hobbitd.pidendscript }/var/log/hobbit/hobbitlaunch.log { missingok weekly rotate 5 postrotate /bin/kill -HUP
cat /var/log/hobbit/hobbitlaunch.pidendscript }/var/log/hobbit/larrd-data.log { missingok weekly rotate 5 }
/var/log/hobbit/larrd-status.log { missingok weekly rotate 5 }
/var/log/hobbit/page.log { missingok weekly rotate 5 }
/var/log/hobbit/purple.log { missingok weekly rotate 5 }
-- Rich Smrcina VM Assist, Inc. Main: (262)392-2026 Cell: (414)491-6001 Ans Service: (360)715-2467 rich.smrcina at vmassist.com
Catch the WAVV! http://www.wavv.org WAVV 2005 - Colorado Springs - May 20-24, 2005