mirror of
https://github.com/Melledy/Grasscutter.git
synced 2024-11-25 14:04:08 +00:00
Replace express with javalin in logger
This commit is contained in:
parent
b5bed6ceef
commit
a1c31d1779
@ -5,6 +5,7 @@ import ch.qos.logback.classic.Logger;
|
|||||||
import emu.grasscutter.BuildConfig;
|
import emu.grasscutter.BuildConfig;
|
||||||
import emu.grasscutter.Grasscutter;
|
import emu.grasscutter.Grasscutter;
|
||||||
import emu.grasscutter.net.packet.PacketOpcodesUtils;
|
import emu.grasscutter.net.packet.PacketOpcodesUtils;
|
||||||
|
import io.javalin.core.util.JavalinLogger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -83,7 +84,7 @@ public final class StartupArguments {
|
|||||||
Grasscutter.getLogger().debug("The logger is now running in debug mode.");
|
Grasscutter.getLogger().debug("The logger is now running in debug mode.");
|
||||||
|
|
||||||
// Change loggers to debug.
|
// Change loggers to debug.
|
||||||
((Logger) LoggerFactory.getLogger("express"))
|
((Logger) LoggerFactory.getLogger("io.javalin"))
|
||||||
.setLevel(loggerLevel);
|
.setLevel(loggerLevel);
|
||||||
((Logger) LoggerFactory.getLogger("org.quartz"))
|
((Logger) LoggerFactory.getLogger("org.quartz"))
|
||||||
.setLevel(loggerLevel);
|
.setLevel(loggerLevel);
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
</encoder>
|
</encoder>
|
||||||
</appender>
|
</appender>
|
||||||
|
|
||||||
<logger name="express" level="OFF" />
|
<logger name="io.javalin" level="OFF" />
|
||||||
<logger name="org.quartz" level="OFF" />
|
<logger name="org.quartz" level="OFF" />
|
||||||
<logger name="org.reflections" level="OFF" />
|
<logger name="org.reflections" level="OFF" />
|
||||||
<logger name="org.eclipse.jetty" level="OFF" />
|
<logger name="org.eclipse.jetty" level="OFF" />
|
||||||
|
Loading…
Reference in New Issue
Block a user