[logging] improve logging of port retry (#77868)
### What
Only log once of the port retries, with the original port and the final
listening port.
| Before | After |
|:--|:--|
| ⚠ Port 3000 is in use, trying 3001 instead.<br>⚠ Port 3001 is in use,
trying 3002 instead. | ⚠ Port 3000 is in use, using available port 3002
instead. |