switch to dis/enable logging