Add string format for port being logged.