Enclosed the log message within a CDATA block to get valid XML