From 9abd946c21df185bc84ca6fa7d68a95581e9e91e Mon Sep 17 00:00:00 2001 From: houchengqiu Date: Tue, 29 Aug 2023 17:59:19 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E7=AA=97=E7=AE=A1=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E8=B7=AF=E5=BE=84=E5=BA=94=E5=8A=A0.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 窗管默认日志日志应加. Log: 窗管默认日志路径应加. --- application/logapplicationhelper.cpp | 4 ++-- application/logexportthread.cpp | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/application/logapplicationhelper.cpp b/application/logapplicationhelper.cpp index 375e9106..aaf4fb66 100644 --- a/application/logapplicationhelper.cpp +++ b/application/logapplicationhelper.cpp @@ -112,12 +112,12 @@ void LogApplicationHelper::initOtherLog() m_other_log_list_temp.append(QStringList() << "iso-customizer-agent.log" << "/root/.cache/isocustomizer-agent/iso-customizer-agent/iso-customizer-agent.log"); m_other_log_list_temp.append(QStringList() << "downloader" << "~/.config/uos/downloader/Log"); - m_other_log_list_temp.append(QStringList() << "kwin.log" << "~/kwin.log"); + m_other_log_list_temp.append(QStringList() << ".kwin.log" << "~/.kwin.log"); m_other_log_list_temp.append(QStringList() << "audit.log" << "/var/log/audit/audit.log"); m_other_log_list_temp.append(QStringList() << "udcp-client" << "/var/log/udcp-client"); //窗管日志和配置文件监视 - m_other_log_list_temp.append(QStringList() << "kwin_x11.log" << "~/kwin_x11.log"); + m_other_log_list_temp.append(QStringList() << ".kwin_x11.log" << "~/.kwin_x11.log"); m_other_log_list_temp.append(QStringList() << "kwinrc" << "~/.config/kwinrc"); m_other_log_list_temp.append(QStringList() << "kglobalshortcutsrc" << "~/.config/kglobalshortcutsrc"); m_other_log_list_temp.append(QStringList() << "kwinrulesrc" << "~/.config/kwinrulesrc"); diff --git a/application/logexportthread.cpp b/application/logexportthread.cpp index 27a3a437..298ae15e 100644 --- a/application/logexportthread.cpp +++ b/application/logexportthread.cpp @@ -3382,6 +3382,7 @@ bool LogExportThread::exportToZip(const QString &fileName, const QList