From 0d91f82d835b65f339726e3fbbd9c5347baabf7e Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 23 Mar 2024 21:10:54 +0000 Subject: [PATCH] config: be a bit louder in the disabled log warning --- src/config/ConfigManager.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f0af317a2..111591319 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -586,11 +586,13 @@ CConfigManager::CConfigManager() { m_pConfig->commence(); - Debug::log(LOG, "NOTE: further logs to stdout / logfile are disabled by default. Use debug:disable_logs and debug:enable_stdout_logs to override this."); - setDefaultAnimationVars(); resetHLConfig(); + Debug::log(LOG, + "!!!!HEY YOU, YES YOU!!!!: further logs to stdout / logfile are disabled by default. BEFORE SENDING THIS LOG, ENABLE THEM. Use debug:disable_logs = false to do so: " + "https://wiki.hyprland.org/Configuring/Variables/#debug"); + Debug::disableLogs = reinterpret_cast(m_pConfig->getConfigValuePtr("debug:disable_logs")->getDataStaticPtr()); Debug::disableTime = reinterpret_cast(m_pConfig->getConfigValuePtr("debug:disable_time")->getDataStaticPtr());