I would suggest you to use the OS utilities like "logrotate" or "cronlog" like:
/usr/sbin/rotatelogs /PATH/TO/console.log 86400
What a great idea! We just disabled console logging. However, had we known about this approach we would have used it. Thanks!
Thanks Jay for your reply.
Excellent. I will do.