Add connection logging