Change log rotation method