Skip to content

Commit

Permalink
fix: 修复kwin_x11日志显示无内容,全部导出无该文件的问题
Browse files Browse the repository at this point in the history
  修复kwin_x11日志显示无内容,全部导出无该文件的问题

Log: 修复kwin_x11日志显示无内容,全部导出无该文件的问题
  • Loading branch information
starhcq authored and rb-union committed Aug 29, 2023
1 parent 235e4de commit 3fd93de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions application/logapplicationhelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 1 addition & 1 deletion application/loglistview.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -308,8 +308,8 @@ void LogListView::initUI()
m_logTypes.push_back(OTHER_TREE_DATA);

//custom
m_logTypes.push_back(CUSTOM_TREE_DATA);
if (LogApplicationHelper::instance()->getCustomLogList().size()) {
m_logTypes.push_back(CUSTOM_TREE_DATA);
initCustomLogItem();
}

Expand Down

0 comments on commit 3fd93de

Please sign in to comment.