Repository navigation
fix: correct log rules separator in dtk preference config - #149
Conversation
Reviewer's guide (collapsed on small PRs)Reviewer's GuideThis PR updates the DTK preference JSON so logging rules use a semicolon separator instead of a comma, and bumps the configuration serial/version field to reflect this change. File-Level Changes
Tips and commandsInteracting with Sourcery
Customizing Your ExperienceAccess your dashboard to:
Getting Help
|
There was a problem hiding this comment.
Hey - I've left some high level feedback:
- Check the rest of
org.deepin.dtk.preference.jsonfor any remaining comma-separated logging rule definitions to keep the separator usage consistent across the config. - If any code paths still expect comma-separated rules for this config, consider adding a short transitional parsing step (accepting both commas and semicolons) to avoid breaking existing deployments while the config rolls out.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- Check the rest of `org.deepin.dtk.preference.json` for any remaining comma-separated logging rule definitions to keep the separator usage consistent across the config.
- If any code paths still expect comma-separated rules for this config, consider adding a short transitional parsing step (accepting both commas and semicolons) to avoid breaking existing deployments while the config rolls out.Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Changed the logging rules separator from comma to semicolon in configuration file to ensure proper parsing of multiple logging levels. Updated serial number to reflect the change. Log: Fixed logging rules separator in DTK preferences configuration Influence: 1. Verify that logging rules with multiple levels (debug, info) are correctly parsed 2. Test application behavior with the updated configuration fix: 修正日志规则分隔符从逗号改为分号 将配置文件中的日志规则分隔符从逗号改为分号,以确保多个日志级别能被正确解 析。同时更新了序列号以反映此次变更。 Log: 修复 DTK 偏好设置配置中的日志规则分隔符 Influence: 1. 验证多个日志级别(debug、info)的规则能被正确解析 2. 测试应用在更新配置后的行为表现
deepin pr auto review★ 总体评分:100分■ 【总体评价】
■ 【详细分析】
■ 【改进建议代码示例】 "rules": {
"value": "*.debug=false;*.info=false",
"serial": 2,
"flags": ["global"],
"name": "The logging rules of dtk applications"
} |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: 18202781743, BLumia The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Log: Fixed logging rules separator from comma to semicolon in dtk
configuration
Influence:
separator
fix: 修正 dtk 配置中日志规则的分隔符
Log: 修复 dtk 配置中日志规则分隔符从逗号改为分号
Influence:
Summary by Sourcery
Bug Fixes: