From 40cd0dec21e1e2dcb9e09f6caddf04543b67c3d1 Mon Sep 17 00:00:00 2001 From: yeshanshan Date: Mon, 17 Nov 2025 12:28:54 +0800 Subject: [PATCH] fix: update dtk preference logging rules configuration MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Update the logging rules configuration in org.deepin.dtk.preference.json to fix control center logging settings issue. Changed serial from 0 to 1 and added "global" flag to the flags array. This ensures the logging rules are properly applied across all DTK applications and resolves the problem where control center logging settings were not taking effect. Log: Fixed control center logging settings not working properly Influence: 1. Test logging functionality in control center settings 2. Verify log output rules are correctly applied to DTK applications 3. Check if global logging configuration works across all applications 4. Test different log levels and categories to ensure proper filtering 5. Verify logging settings persist after application restart fix: 更新 dtk 首选项日志规则配置 更新 org.deepin.dtk.preference.json 中的日志规则配置,修复控制中心日志设 置失效问题。将序列号从 0 更改为 1,并在标志数组中添加 "global" 标志。这 确保日志规则在所有 DTK 应用程序中正确应用,解决了控制中心日志设置不生效 的问题。 Log: 修复控制中心日志设置不生效的问题 Influence: 1. 测试控制中心设置中的日志功能 2. 验证日志输出规则是否正确应用于 DTK 应用程序 3. 检查全局日志配置是否在所有应用程序中正常工作 4. 测试不同的日志级别和类别以确保正确的过滤 5. 验证日志设置在应用程序重启后是否保持 PMS: BUG-339237 --- configs/org.deepin.dtk.preference.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/org.deepin.dtk.preference.json b/configs/org.deepin.dtk.preference.json index 461c6b2..431e708 100644 --- a/configs/org.deepin.dtk.preference.json +++ b/configs/org.deepin.dtk.preference.json @@ -65,8 +65,8 @@ }, "rules": { "value": "*.debug=false", - "serial": 0, - "flags": [], + "serial": 1, + "flags": ["global"], "name": "The logging rules of dtk applications", "name[zh_CN]": "日志输出的规则配置", "description": "Configure the category and level of log output",