Implemented disabling of logging.