mirror of
https://github.com/hyprwm/Hyprland.git
synced 2026-08-24 10:04:19 -05:00
config: add path in stdout log disabling message (#14793)
* config: add path in stdout log disabling message * config: expand path in stdout log disabling message
This commit is contained in:
@@ -7,9 +7,7 @@
|
||||
#include "../../managers/KeybindManager.hpp"
|
||||
#include "../../Compositor.hpp"
|
||||
|
||||
#include "../../render/decorations/CHyprGroupBarDecoration.hpp"
|
||||
#include "../shared/complex/ComplexDataTypes.hpp"
|
||||
#include "../ConfigValue.hpp"
|
||||
#include "../shared/monitor/MonitorRuleManager.hpp"
|
||||
#include "../shared/workspace/WorkspaceRuleManager.hpp"
|
||||
#include "../shared/animation/AnimationTree.hpp"
|
||||
@@ -21,14 +19,11 @@
|
||||
#include "../../xwayland/XWayland.hpp"
|
||||
#include "../../protocols/OutputManagement.hpp"
|
||||
#include "../../managers/animation/AnimationManager.hpp"
|
||||
#include "../../desktop/view/LayerSurface.hpp"
|
||||
#include "../../desktop/rule/Engine.hpp"
|
||||
#include "../../desktop/rule/windowRule/WindowRule.hpp"
|
||||
#include "../../desktop/rule/layerRule/LayerRule.hpp"
|
||||
#include "../../debug/HyprCtl.hpp"
|
||||
#include "../../desktop/state/FocusState.hpp"
|
||||
#include "../../layout/space/Space.hpp"
|
||||
#include "../../layout/supplementary/WorkspaceAlgoMatcher.hpp"
|
||||
#include "../../layout/LayoutManager.hpp"
|
||||
|
||||
#include "../../render/Renderer.hpp"
|
||||
#include "../../errorOverlay/Overlay.hpp"
|
||||
@@ -61,9 +56,8 @@
|
||||
#include "../../managers/input/trackpad/gestures/ScrollMoveGesture.hpp"
|
||||
|
||||
#include "../../event/EventBus.hpp"
|
||||
|
||||
#include "../../protocols/types/ContentType.hpp"
|
||||
#include "render/types.hpp"
|
||||
|
||||
#include <cstddef>
|
||||
#include <cstdint>
|
||||
#include <hyprutils/path/Path.hpp>
|
||||
@@ -84,6 +78,7 @@
|
||||
#include <hyprutils/string/ConstVarList.hpp>
|
||||
#include <filesystem>
|
||||
#include <memory>
|
||||
|
||||
using namespace Hyprutils::String;
|
||||
using namespace Hyprutils::Animation;
|
||||
using namespace Config;
|
||||
@@ -1044,7 +1039,10 @@ void CConfigManager::postConfigReload(const Hyprlang::CParseResult& result) {
|
||||
|
||||
auto disableStdout = !std::any_cast<Hyprlang::INT>(m_config->getConfigValue("debug:enable_stdout_logs"));
|
||||
if (disableStdout && m_isFirstLaunch)
|
||||
Log::logger->log(Log::DEBUG, "Disabling stdout logs! Check the log for further logs.");
|
||||
Log::logger->log(Log::DEBUG,
|
||||
"Disabling stdout logs (debug.enable_stdout_logs = 0). "
|
||||
"Further logs will be written to {}",
|
||||
g_pCompositor->m_instancePath + (ISDEBUG ? "/hyprlandd.log" : "/hyprland.log"));
|
||||
|
||||
for (auto const& m : g_pCompositor->m_monitors) {
|
||||
// mark blur dirty
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
#include "DefaultConfig.hpp"
|
||||
#include "Emergency.hpp"
|
||||
|
||||
#include <climits>
|
||||
#include <algorithm>
|
||||
#include <cctype>
|
||||
#include <functional>
|
||||
@@ -23,15 +22,11 @@
|
||||
#include "../shared/inotify/ConfigWatcher.hpp"
|
||||
|
||||
#include "../../desktop/rule/Engine.hpp"
|
||||
#include "../../helpers/MiscFunctions.hpp"
|
||||
|
||||
#include "../../event/EventBus.hpp"
|
||||
#include "../../Compositor.hpp"
|
||||
#include "../../managers/input/InputManager.hpp"
|
||||
#include "../../managers/KeybindManager.hpp"
|
||||
#include "../../helpers/Monitor.hpp"
|
||||
#include "../../layout/space/Space.hpp"
|
||||
#include "../../layout/supplementary/WorkspaceAlgoMatcher.hpp"
|
||||
#include "../../render/Renderer.hpp"
|
||||
#include "../../errorOverlay/Overlay.hpp"
|
||||
#include "../../xwayland/XWayland.hpp"
|
||||
@@ -40,7 +35,6 @@
|
||||
#include "../../managers/eventLoop/EventLoopManager.hpp"
|
||||
#include "../../managers/input/trackpad/TrackpadGestures.hpp"
|
||||
#include "../../notification/NotificationOverlay.hpp"
|
||||
#include "../../render/decorations/CHyprGroupBarDecoration.hpp"
|
||||
|
||||
using namespace Config;
|
||||
using namespace Config::Lua;
|
||||
@@ -558,7 +552,10 @@ void CConfigManager::postConfigReload() {
|
||||
|
||||
auto disableStdout = !*PENABLESTDOUT;
|
||||
if (disableStdout && m_isFirstLaunch)
|
||||
Log::logger->log(Log::DEBUG, "Disabling stdout logs! Check the log for further logs.");
|
||||
Log::logger->log(Log::DEBUG,
|
||||
"Disabling stdout logs (debug.enable_stdout_logs = 0). "
|
||||
"Further logs will be written to {}",
|
||||
g_pCompositor->m_instancePath + (ISDEBUG ? "/hyprlandd.log" : "/hyprland.log"));
|
||||
|
||||
handlePluginLoads();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user