Closed kfstorm closed 4 years ago
Sorry for that, i never missing this issue, because i reboot every day.
maybe we can change to truncate log every day or not output log.
I commented below code and the disk space issue is fixed.
# # 开启日志.
# if ! grep -qs "^log-queries$" /etc/dnsmasq.conf; then
# echo 'log-queries' >> /etc/dnsmasq.conf
# fi
# # 输出日志到 /var/log/dnsmasq.log
# if ! grep -qs "^log-facility=/var/log/dnsmasq\.log$" /etc/dnsmasq.conf; then
# echo 'log-facility=/var/log/dnsmasq.log' >> /etc/dnsmasq.conf
# fi
But now the logs go to 系统记录 - 一般记录文件
of the router admin portal.
Fixed by 65253f0.
Sometimes the DNS lookup just doesn't work. I found that
dnsmasq.log
is too big that there's no disk space left in/tmp
.Try to run
patch_router
:After I deleted the
dnsmasq.log
file:And
patch_router
succeeds.