Fixed enable/disable-logging to better reflect the action