minor adjustment to enableLogging to account for different serialized form