Enabling/Disabling debug on logs