Allow optionally turning off XML logging

XML logging is great for testing but once confirmed working, it outputs too much text. This allows for passing an options hash to the client in the form of `{log: false}` to turn it off.