Disable logging by default, with an option to turn it on.