diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-03 10:41:14 +0100 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2023-04-03 10:41:49 +0100 |
| commit | e6211eef00a96c0dc7f8c06a6a151f5485977a0d (patch) | |
| tree | 5f995b48014042ac903c2e4bfb71794596e7daca /src/Compositor.cpp | |
| parent | b1426cad28f250a2269012da904901e0edcef114 (diff) | |
log: Move stdout log disabling to the end of init
Diffstat (limited to 'src/Compositor.cpp')
| -rw-r--r-- | src/Compositor.cpp | 6 |
1 files 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() { |
