Mute mojang shits.

This commit is contained in:
IzzelAliz 2020-08-11 16:03:36 +08:00
parent b07abd4cd7
commit 61462e2524

View File

@ -19,13 +19,11 @@
</filters> </filters>
<Appenders> <Appenders>
<TerminalConsole name="Console"> <TerminalConsole name="Console">
<RegexFilter regex=".*will not be sent to client.*" onMatch="DENY" onMismatch="NEUTRAL"/>
<PatternLayout> <PatternLayout>
<!-- use white for info output --> <!-- use white for info output -->
<LoggerNamePatternSelector <LoggerNamePatternSelector
defaultPattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [%c{1.}/%markerSimpleName]: %minecraftFormatting{%msg}%n%tEx}{INFO=normal}"> defaultPattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [%c{1.}/%markerSimpleName]: %minecraftFormatting{%msg}%n%tEx}{INFO=normal}">
<!-- mute errors like Could not serialize xx - will not be sent to client! -->
<PatternMatch key="net.minecraft.command.arguments.ArgumentTypes"
pattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [minecraft/%logger{1}]: %minecraftFormatting{%msg}%n%tEx}{ERROR=normal}"/>
<!-- don't include the full logger name for Mojang's logs since they use full class names and it's very verbose --> <!-- don't include the full logger name for Mojang's logs since they use full class names and it's very verbose -->
<PatternMatch key="net.minecraft." <PatternMatch key="net.minecraft."
pattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [minecraft/%logger{1}]: %minecraftFormatting{%msg}%n%tEx}{INFO=normal}"/> pattern="%highlight{[%d{HH:mm:ss}] [%t/%level] [minecraft/%logger{1}]: %minecraftFormatting{%msg}%n%tEx}{INFO=normal}"/>