Added logs for port
Fixed logging