Logging new connections and disconnections