From ab343aebd410a7c2fb8459502bbd35a1b3f790bd Mon Sep 17 00:00:00 2001 From: Melledy <52122272+Melledy@users.noreply.github.com> Date: Mon, 18 Apr 2022 00:42:58 -0700 Subject: [PATCH] Random thing for logback --- src/main/java/emu/grasscutter/Grasscutter.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/main/java/emu/grasscutter/Grasscutter.java b/src/main/java/emu/grasscutter/Grasscutter.java index 8ad8fe3e3..f0fa2cc89 100644 --- a/src/main/java/emu/grasscutter/Grasscutter.java +++ b/src/main/java/emu/grasscutter/Grasscutter.java @@ -23,6 +23,10 @@ import emu.grasscutter.tools.Tools; import emu.grasscutter.utils.Crypto; public final class Grasscutter { + static { + System.setProperty("logback.configurationFile", "src/main/resources/logback.xml"); + } + private static final Logger log = (Logger) LoggerFactory.getLogger(Grasscutter.class); private static Config config;