ENG-7078 resolved UpdateLoggingProc error

This doesn't look right. Removing the file type declaration at the top makes it an invalid XML document. The log4j DTD clearly defines the schema as an XML document. The fix may just be trimming the input.