Replace express with javalin in logger

This commit is contained in:
Benj 2022-09-01 21:34:45 +08:00 committed by Melledy
parent b5bed6ceef
commit a1c31d1779
2 changed files with 3 additions and 2 deletions

View File

@ -5,6 +5,7 @@ import ch.qos.logback.classic.Logger;
import emu.grasscutter.BuildConfig;
import emu.grasscutter.Grasscutter;
import emu.grasscutter.net.packet.PacketOpcodesUtils;
import io.javalin.core.util.JavalinLogger;
import org.slf4j.LoggerFactory;
import java.util.Map;
@ -83,7 +84,7 @@ public final class StartupArguments {
Grasscutter.getLogger().debug("The logger is now running in debug mode.");
// Change loggers to debug.
((Logger) LoggerFactory.getLogger("express"))
((Logger) LoggerFactory.getLogger("io.javalin"))
.setLevel(loggerLevel);
((Logger) LoggerFactory.getLogger("org.quartz"))
.setLevel(loggerLevel);

View File

@ -24,7 +24,7 @@
</encoder>
</appender>
<logger name="express" level="OFF" />
<logger name="io.javalin" level="OFF" />
<logger name="org.quartz" level="OFF" />
<logger name="org.reflections" level="OFF" />
<logger name="org.eclipse.jetty" level="OFF" />