From c643b4e68aab0b6378a697cdae870ea5766c2ad9 Mon Sep 17 00:00:00 2001 From: zhangkun Date: Thu, 15 Oct 2026 10:44:12 +0800 Subject: [PATCH] chore(systemd): remove hardcoded qt logging rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1. Drop Environment=QT_LOGGING_RULES="*.debug=false" from the user service unit of dde-application-manager 2. Debug output now follows the session's Qt logging configuration instead of being force-disabled by the unit 3. Debug logs can be enabled without editing the installed unit; no other unit in the repo sets logging rules Log: Debug logging of the application manager is no longer forced off by the service unit Influence: Debug logs follow qtlogging.ini/session env; no other behavior change chore(systemd): 移除硬编码的 Qt 日志规则 1. 从 dde-application-manager 用户服务单元中移除 Environment=QT_LOGGING_RULES="*.debug=false" 2. debug 日志改由会话的 Qt 日志配置决定,不再被 unit 强制关闭 3. 无需修改已安装的 unit 即可开启调试日志; 仓库内其余 unit 均未设置日志规则 Log: 应用管理器的调试日志不再被服务单元强制关闭 PMS: TASK-396623 Influence: 调试日志跟随 qtlogging.ini/会话环境,其余行为不变 --- misc/systemd/user/org.desktopspec.ApplicationManager1.service.in | 1 - 1 file changed, 1 deletion(-) diff --git a/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in b/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in index 11a01dca..a01761fd 100644 --- a/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in +++ b/misc/systemd/user/org.desktopspec.ApplicationManager1.service.in @@ -16,7 +16,6 @@ After=treeland-sd.service Type=dbus BusName=org.desktopspec.ApplicationManager1 ExecStart=@CMAKE_INSTALL_FULL_BINDIR@/dde-application-manager -Environment=QT_LOGGING_RULES="*.debug=false" Slice=session.slice Restart=always RestartSec=500ms