From 7bb63f5b2194753e78cf8a80e7ab0e04bc921b4d Mon Sep 17 00:00:00 2001 From: Marcus Tillmanns Date: Tue, 6 Dec 2022 10:46:07 +0100 Subject: [PATCH] Clangd: Change the Log target to "Ui" If the error messages of clangd are not shown in the Ui, it is very difficult / impossible for the user to analyze problems when they occur. Change-Id: I81e2fc9aa999332147837adf54dfac49233e6f99 Reviewed-by: Christian Kandeler Reviewed-by: David Schulz --- src/plugins/clangcodemodel/clangdclient.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/plugins/clangcodemodel/clangdclient.cpp b/src/plugins/clangcodemodel/clangdclient.cpp index 9d37a8c2bf1..278d43ef60a 100644 --- a/src/plugins/clangcodemodel/clangdclient.cpp +++ b/src/plugins/clangcodemodel/clangdclient.cpp @@ -341,7 +341,6 @@ ClangdClient::ClangdClient(Project *project, const Utils::FilePath &jsonDbDir) "text/x-c++hdr", "text/x-c++src", "text/x-objc++src", "text/x-objcsrc"}; setSupportedLanguage(langFilter); setActivateDocumentAutomatically(true); - setLogTarget(LogTarget::Console); setCompletionAssistProvider(new ClangdCompletionAssistProvider(this)); setQuickFixAssistProvider(new ClangdQuickFixProvider(this)); symbolSupport().setDefaultRenamingSymbolMapper(