feat: log levels to 'warn' in mihomo default settings and verge default settings;

This commit is contained in:
Tunglies
2025-05-14 16:06:02 +08:00
parent ebc9fc5eba
commit c100b9c54d
3 changed files with 6 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
- DNS 覆写下增加 Hosts 设置功能 - DNS 覆写下增加 Hosts 设置功能
- 修复服务模式安装后无法立即开启 TUN 模式的问题 - 修复服务模式安装后无法立即开启 TUN 模式的问题
- 支持手动卸载服务模式,回退到 Sidecar 模式 - 支持手动卸载服务模式,回退到 Sidecar 模式
- 添加了土耳其语,日本语,德语,西班牙语,繁体中文的支持 向着 i18 更进了一步 (●ˇ∀ˇ●) (后续可添加其他国家语言) - 添加了土耳其语,日本语,德语,西班牙语,繁体中文的支持
- 卸载服务的按钮 - 卸载服务的按钮
#### 优化了: #### 优化了:
@@ -61,6 +61,8 @@
- MacOS 下默认关闭托盘速率显示 - MacOS 下默认关闭托盘速率显示
- 优化服务操作流程,提升系统服务相关操作的稳定性和用户体验 - 优化服务操作流程,提升系统服务相关操作的稳定性和用户体验
- 优化了其他语言的翻译问题 - 优化了其他语言的翻译问题
- Mihomo 内核默认日志等级为 warn
- Clash Verge Rev 应用默认日志等级为 warn
## v2.2.3 ## v2.2.3

View File

@@ -46,7 +46,7 @@ impl IClashTemp {
map.insert("mixed-port".into(), 7897.into()); map.insert("mixed-port".into(), 7897.into());
map.insert("socks-port".into(), 7898.into()); map.insert("socks-port".into(), 7898.into());
map.insert("port".into(), 7899.into()); map.insert("port".into(), 7899.into());
map.insert("log-level".into(), "info".into()); map.insert("log-level".into(), "warn".into());
map.insert("allow-lan".into(), false.into()); map.insert("allow-lan".into(), false.into());
map.insert("ipv6".into(), true.into()); map.insert("ipv6".into(), true.into());
map.insert("mode".into(), "rule".into()); map.insert("mode".into(), "rule".into());

View File

@@ -21,7 +21,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
const [open, setOpen] = useState(false); const [open, setOpen] = useState(false);
const [values, setValues] = useState({ const [values, setValues] = useState({
appLogLevel: "info", appLogLevel: "warn",
autoCloseConnection: true, autoCloseConnection: true,
autoCheckUpdate: true, autoCheckUpdate: true,
enableBuiltinEnhanced: true, enableBuiltinEnhanced: true,
@@ -35,7 +35,7 @@ export const MiscViewer = forwardRef<DialogRef>((props, ref) => {
open: () => { open: () => {
setOpen(true); setOpen(true);
setValues({ setValues({
appLogLevel: verge?.app_log_level ?? "info", appLogLevel: verge?.app_log_level ?? "warn",
autoCloseConnection: verge?.auto_close_connection ?? true, autoCloseConnection: verge?.auto_close_connection ?? true,
autoCheckUpdate: verge?.auto_check_update ?? true, autoCheckUpdate: verge?.auto_check_update ?? true,
enableBuiltinEnhanced: verge?.enable_builtin_enhanced ?? true, enableBuiltinEnhanced: verge?.enable_builtin_enhanced ?? true,