fix issue onConnectionWrapper::log