Check if log exists.