Remove log spam from periodic network and IP address queries#2051
Remove log spam from periodic network and IP address queries#2051mcm001 merged 6 commits intoPhotonVision:mainfrom
Conversation
|
Do we also want to expand the scope of this to remove the |
That makes sense to me. That line isn't particularly useful. |
mcm001
left a comment
There was a problem hiding this comment.
It doesn't seem like these debug messages were ever helpful anyway anyways, right? No reason to ever want to turn them back on?
I don’t think they help. The method that was logging network interfaces used to be called only when a change was detected on the network. With the recent code changes, it’s now being called every 10 seconds, and that leads to a lot of boring entries. It should now only log on a change to network devices. I should investigate if this actually needs to be called so often, since the network interfaces really really shouldn’t change. It might be better to call this at boot and return a cached value after that. |
Fixes #2050