diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 4e31b015031..cd48fd8348a 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -248,9 +248,6 @@ void CCompositor::initServer() { wlr_multi_backend_add(m_sWLRBackend, m_sWLRHeadlessBackend); initManagers(STAGE_LATE); - - Debug::log(LOG, "Disabling stdout logs! Check the log for further logs."); - Debug::disableStdout = true; } void CCompositor::initAllSignals() { diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index a839925fc8e..be457e66b70 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -1507,6 +1507,8 @@ void CConfigManager::loadConfigLoadVars() { } Debug::disableStdout = !configValues["debug:enable_stdout_logs"].intValue; + if (Debug::disableStdout && isFirstLaunch) + Debug::log(LOG, "Disabling stdout logs! Check the log for further logs."); for (auto& m : g_pCompositor->m_vMonitors) { // mark blur dirty