Fixed missing enable/disable logging printouts