You can use a Linux logrotate command for log file maintenance [pdf].
Refer: http://linuxers.org/howto/howto-use-logrotate-manage-log-files

Technical notes, and other ideas.
You can use a Linux logrotate command for log file maintenance [pdf].
Refer: http://linuxers.org/howto/howto-use-logrotate-manage-log-files