Add configuration option to disable logging