Issue #20264 Tweak debug logging in XT.format.