From 3f51db47c46a3667617967fdbb43da7b29bbad4c Mon Sep 17 00:00:00 2001 From: KingRainbow44 Date: Sun, 30 Apr 2023 20:57:03 -0400 Subject: [PATCH] Move more logs from `debug` to `trace` --- .../emu/grasscutter/game/managers/stamina/StaminaManager.java | 4 ++-- src/main/java/emu/grasscutter/scripts/data/SceneBlock.java | 2 +- src/main/java/emu/grasscutter/scripts/data/SceneGroup.java | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/emu/grasscutter/game/managers/stamina/StaminaManager.java b/src/main/java/emu/grasscutter/game/managers/stamina/StaminaManager.java index d1b367b52..bc1474c58 100644 --- a/src/main/java/emu/grasscutter/game/managers/stamina/StaminaManager.java +++ b/src/main/java/emu/grasscutter/game/managers/stamina/StaminaManager.java @@ -329,7 +329,7 @@ public class StaminaManager extends BasePlayerManager { if (!player.isPaused() && sustainedStaminaHandlerTimer == null) { sustainedStaminaHandlerTimer = new Timer(); sustainedStaminaHandlerTimer.scheduleAtFixedRate(new SustainedStaminaHandler(), 0, 200); - logger.debug("[MovementManager] SustainedStaminaHandlerTimer started"); + logger.trace("[MovementManager] SustainedStaminaHandlerTimer started"); } } @@ -337,7 +337,7 @@ public class StaminaManager extends BasePlayerManager { if (sustainedStaminaHandlerTimer != null) { sustainedStaminaHandlerTimer.cancel(); sustainedStaminaHandlerTimer = null; - logger.debug("[MovementManager] SustainedStaminaHandlerTimer stopped"); + logger.trace("[MovementManager] SustainedStaminaHandlerTimer stopped"); } } diff --git a/src/main/java/emu/grasscutter/scripts/data/SceneBlock.java b/src/main/java/emu/grasscutter/scripts/data/SceneBlock.java index 4c4299f98..b03851d7d 100644 --- a/src/main/java/emu/grasscutter/scripts/data/SceneBlock.java +++ b/src/main/java/emu/grasscutter/scripts/data/SceneBlock.java @@ -77,7 +77,7 @@ public class SceneBlock { "An error occurred while loading block " + this.id + " in scene " + sceneId, exception); } - Grasscutter.getLogger().debug("Successfully loaded block {} in scene {}.", this.id, sceneId); + Grasscutter.getLogger().trace("Successfully loaded block {} in scene {}.", this.id, sceneId); return this; } diff --git a/src/main/java/emu/grasscutter/scripts/data/SceneGroup.java b/src/main/java/emu/grasscutter/scripts/data/SceneGroup.java index efb7b23e7..a85de9934 100644 --- a/src/main/java/emu/grasscutter/scripts/data/SceneGroup.java +++ b/src/main/java/emu/grasscutter/scripts/data/SceneGroup.java @@ -175,7 +175,7 @@ public final class SceneGroup { .formatted(this.id, sceneId), luaError); } - Grasscutter.getLogger().debug("Successfully loaded group {} in scene {}.", this.id, sceneId); + Grasscutter.getLogger().trace("Successfully loaded group {} in scene {}.", this.id, sceneId); return this; }