mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-05 22:51:58 -07:00
Honor debug:enable_stdout_logs on startup (#2197)
* Honor debug:enable_stdout_logs on startup disableStdout is set via config in CConfigManager::init(), which is called early in CCompositor::initServer(). initServer() always disables stdout logs at the end though, even when stdout is enabled is config. With this commit, the config is respected. * Don't spam stdout message
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user