We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
问题现象 加载ui插件后,日志文件不再记录,除非登入ui并在“日志”中调整日志级别。
由于ui内默认的日志级别为“警告”,这导致日志文件无法记录smartdns启动时的调试日志。
运行环境
固件型号 x86_64 容器运行
运营商 不涉及
smartdns来源以及版本 最新代码自行编译
涉及的配置(注意去除个人相关信息)
log-level debug log-size 1M log-num 5 log-file /etc/smartdns/log/smartdns.log
重现步骤
上游DNS配置。 不涉及
访问的域名。 不涉及
信息收集
[2025-04-09 02:41:49,682][NOTICE][ smartdns.c:602 ] smartdns starting...(Copyright (C) Nick Peng <[email protected]>, build: 1.2025.v46.1.16) [2025-04-09 02:41:49,684][ INFO][ dns_server.c:9253] bind ip [::]:53, type 0 [2025-04-09 02:41:49,684][ INFO][ dns_server.c:9253] bind ip [::]:53, type 1 [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:1474] ping 2001::, id = 1 [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:1252] from 2001::: error is Network unreachable [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:679 ] ping 2001:: end, id 1 [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:1474] ping 2001::, id = 2 [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:1252] from 2001::: error is Network unreachable [2025-04-09 02:41:49,693][DEBUG][ fast_ping.c:679 ] ping 2001:: end, id 2 [2025-04-09 02:41:49,693][ INFO][ dns_server.c:9574] IPV6 is not ready or speed check is disabled, disable IPV6 features [2025-04-09 02:41:49,693][ INFO][ dns_server.c:9463] auto enable cache persist. [2025-04-09 02:41:49,693][ INFO][ dns_cache.c:773 ] load cache file /etc/smartdns/smartdns.cache, total 267 records [2025-04-09 02:41:49,824][ INFO][ dns_client.c:1504] add server 223.6.6.6:443, type: http3 [2025-04-09 02:41:49,831][ INFO][ plugin.rs:113 ] www root: /wwwroot [2025-04-09 02:41:49,832][ INFO][ data_server.rs:287 ] open db: /etc/smartdns/smartdns.db [2025-04-09 02:41:49,835][DEBUG][ data_stats.rs:181 ] init data stats [2025-04-09 02:41:49,835][DEBUG][ data_stats.rs:183 ] init data stats complete ---- 此后不再产生debug日志
The text was updated successfully, but these errors were encountered:
启用UI后,配置以UI为主
Sorry, something went wrong.
日志内容不能复制,想百度看看是啥问题都不能复制还得访问日志文件!
能否为ui增加配置默认日志级别
No branches or pull requests
问题现象
加载ui插件后,日志文件不再记录,除非登入ui并在“日志”中调整日志级别。
由于ui内默认的日志级别为“警告”,这导致日志文件无法记录smartdns启动时的调试日志。
运行环境
固件型号
x86_64 容器运行
运营商
不涉及
smartdns来源以及版本
最新代码自行编译
涉及的配置(注意去除个人相关信息)
重现步骤
上游DNS配置。
不涉及
访问的域名。
不涉及
信息收集
在自定义界面,开启设置->自定义设置->生成coredump配置,重现问题后提交coredump文件
coredump文件在/tmp目录下
The text was updated successfully, but these errors were encountered: