From f633dd59ab3db18592ac3003f231712d22128537 Mon Sep 17 00:00:00 2001 From: rocka Date: Wed, 25 Oct 2023 00:22:15 +0800 Subject: [PATCH] Make librime only log to stderr. (#79) --- src/rimeengine.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/rimeengine.cpp b/src/rimeengine.cpp index d25fa3f..319184b 100644 --- a/src/rimeengine.cpp +++ b/src/rimeengine.cpp @@ -334,6 +334,9 @@ void RimeEngine::rimeStart(bool fullcheck) { fcitx_rime_traits.distribution_code_name = "fcitx-rime"; fcitx_rime_traits.distribution_version = FCITX_RIME_VERSION; #ifndef FCITX_RIME_NO_LOG_LEVEL + // make librime only log to stderr + // https://github.com/rime/librime/commit/6d1b9b65de4e7784a68a17d10a3e5c900e4fd511 + fcitx_rime_traits.log_dir = ""; switch (rime().logLevel()) { case NoLog: fcitx_rime_traits.min_log_level = 4;