added log rotation in rails