added rotations for logs, fix #1481