Create setting to disable logging to db