Adding the ability to disable layer logging (after enabling it)