add log statements to trace xml message bug
thin out essential log statements