add connect logger