issue #23404: more logging for the duplicate-id bug