Files
osrg-gobgp/pkg
Christian Persson ce7e5d3296 server: only log warning if grpcServer.Serve() returned an error.
Additionally change the `Key` to be the listener address, which is hopefully
more useful than a difficult-to-decipher dump of the listener struct.

The previous behavior would result in log lines like the following, even if
nothing went wrong:
```
time="2024-01-31T17:30:25Z" level=warning msg="accept failed" Error="<nil>" Key="&{0x140002e4000 {<nil> 0 0}}" Topic=grpc
```
With this change, the message is only logged if there was an error, and it will look like this:
```
time="2024-01-31T17:40:25Z" level=warning msg="accept failed" Error="lolol just testing" Key="127.0.0.1:59289" Topic=grpc
```
2024-01-31 17:42:41 +00:00
..
2023-10-31 22:42:13 +09:00
2021-12-08 10:39:16 +00:00
2023-10-31 22:42:13 +09:00