Logging port changes