Logging of disconnections