Only log if not shutdown