add a connect logger