logs: disable stdout after init

This commit is contained in:
vaxerski
2023-03-24 13:00:54 +00:00
parent a5a0434fff
commit e73c6fd3b0
3 changed files with 9 additions and 3 deletions

View File

@@ -85,6 +85,10 @@ 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);