log port,host when closing connection