Move log rotation into setup-machine.