Configure log rotation