Output the xml generated to log at trace level when validation fails, so that external xml validation tool can be used to find errors.
Merge branch 'mbst-4542-tv-anytime-output' into stage