Commit ec618b7
committed
xds: Remove newlines from XdsConfig.toString()
The newlines can make logs really hard to read, as many log handling
systems will split up each log statement by line. With the newlines,
those singular log entries get split between multiple log entries which
can make reading/processing it pretty ugly.
When logging XdsConfig by itself, it isn't necessarily _that_ bad when
XdsConfig is what you're actually trying to look at, but when XdsConfig
is in the attributes of ResolvedAddresses it gets very distracting.1 parent 103bd4b commit ec618b7
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
76 | 77 | | |
77 | 78 | | |
78 | 79 | | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| |||
0 commit comments