From a05076a7ee885a7d9ddf986684002d81890fb1e0 Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Sat, 30 Sep 2023 13:07:20 +0100 Subject: [PATCH] log: log wlr errors regardless of env --- src/Compositor.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Compositor.cpp b/src/Compositor.cpp index 05875f62..7fa45b07 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -133,6 +133,8 @@ void CCompositor::initServer() { const auto LOGWLR = getenv("HYPRLAND_LOG_WLR"); if (LOGWLR && std::string(LOGWLR) == "1") wlr_log_init(WLR_DEBUG, Debug::wlrLog); + else + wlr_log_init(WLR_ERROR, Debug::wlrLog); m_sWLRBackend = wlr_backend_autocreate(m_sWLDisplay, &m_sWLRSession);