EncodeDecodeXml no writes to log file Fixes #2