Add support for disabling log from settings