Skip to content

Commit

Permalink
feat: filter out realms connection error message from debug log
Browse files Browse the repository at this point in the history
  • Loading branch information
dicedpixels committed Nov 22, 2023
1 parent 92da5ad commit a4c79a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/log4j2.fabric.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<!-- System out -->
<Console name="SysOut" target="SYSTEM_OUT">
<!-- Filter out the authentication error when starting in development -->
<RegexFilter regex="^Failed to verify authentication$" onMatch="DENY" onMismatch="ACCEPT"/>
<RegexFilter regex="^Failed to verify authentication|^Couldn't connect to realms$" onMatch="DENY" onMismatch="ACCEPT"/>
<PatternLayout>
<LoggerNamePatternSelector defaultPattern="%style{[%d{HH:mm:ss}]}{blue} %highlight{[%t/%level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=blue} %style{(%logger{1})}{cyan} %highlight{%msg%n}{FATAL=red, ERROR=red, WARN=normal, INFO=normal, DEBUG=normal, TRACE=normal}" disableAnsi="${sys:fabric.log.disableAnsi:-true}">
<!-- Dont show the logger name for minecraft classes-->
Expand Down

0 comments on commit a4c79a6

Please sign in to comment.