replace logging with connect logger