mirror of https://github.com/tailscale/tailscale/
controlclient: log the entire netmap up to every 5 minutes.
We log it once upon receiving the first copy of the map, then subsequently when a new one appears, but only if we haven't logged one less than 5 minutes ago. This avoids overly cluttering the log (as we did before, logging the netmap every time one appeared, which could be hundreds of lines every few seconds), but still gives the log enough context to help in diagnosing problems retroactively.reviewable/pr185/r1
parent
b9c6d3ceb8
commit
f2e2ffa423
Loading…
Reference in New Issue