Adds the ability to start/stop logging based on the Interactive flag being set in the logging for XML.