From e6211eef00a96c0dc7f8c06a6a151f5485977a0d Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 3 Apr 2023 10:41:14 +0100 Subject: [PATCH] log: Move stdout log disabling to the end of init --- src/Compositor.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 4f331320..bf7de828 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -86,9 +86,6 @@ void CCompositor::setRandomSplash() { void CCompositor::initServer() { - Debug::log(LOG, "Disabling stdout logs! Check the log for further logs."); - Debug::disableStdout = true; - m_sWLDisplay = wl_display_create(); m_sWLEventLoop = wl_display_get_event_loop(m_sWLDisplay); @@ -252,6 +249,9 @@ 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() {