New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
stop dnsmasq from filling the log 11/01/2022 #531
Conversation
I've been running this on my nodes for a while and find that the log is actually usable again. I now see all of the ntp time updates for example. It also shows an error message from netifd that I was unable to catch before. |
What info was dnsmasq logging that was filling the log??? |
Here's an example of what the log looks like without this change:
Every time the mesh changes you get these messages - and the mesh changes all the time. This chatter essentially flushes anything useful from the log. |
I did a quick survey of some local nodes and found that over 80% of log messages were generated by dnsmasq. |
After continuing to run this mod, the logs now are able to contain 4 days of log messages which is very helpful. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes the logs usable again - approved
The node's limited log buffer is being filled quickly by dnsmasq which is very chatty. Once the log buffer fills, then older messages are lost when they may be needed. There seems to be no way to reduce the chattiness of dnsmasq, but there is a way to keep it from logging altogether. This allows other important messages to be retained for a longer period of time in the log.