-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
67 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 | ||
From: AlphaKR93 <[email protected]> | ||
Date: Thu, 31 Oct 2024 22:53:16 +0900 | ||
Subject: [PATCH] cleanup logs | ||
|
||
|
||
diff --git a/src/main/resources/log4j2.xml b/src/main/resources/log4j2.xml | ||
index a056aa167887abef9e6d531a9edd2cda433567d2..dbd822604471e7405e350586ea0e294e0234cf06 100644 | ||
--- a/src/main/resources/log4j2.xml | ||
+++ b/src/main/resources/log4j2.xml | ||
@@ -7,7 +7,7 @@ | ||
<LoggerNamePatternSelector defaultPattern="%highlightGUIError{[%d{HH:mm:ss} %level]: [%logger] %stripAnsi{%msg}%n%xEx{full}}"> | ||
<!-- Log root, Minecraft, Mojang and Bukkit loggers without prefix --> | ||
<!-- Disable prefix for various plugins that bypass the plugin logger --> | ||
- <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE" | ||
+ <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE,ca.spottedleaf." | ||
pattern="%highlightGUIError{[%d{HH:mm:ss} %level]: %stripAnsi{%msg}%n%xEx{full}}" /> | ||
</LoggerNamePatternSelector> | ||
</PatternLayout> | ||
@@ -18,7 +18,7 @@ | ||
<LoggerNamePatternSelector defaultPattern="%highlightError{[%d{HH:mm:ss} %level]: [%logger] %msg%n%xEx{full}}"> | ||
<!-- Log root, Minecraft, Mojang and Bukkit loggers without prefix --> | ||
<!-- Disable prefix for various plugins that bypass the plugin logger --> | ||
- <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE" | ||
+ <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE,ca.spottedleaf." | ||
pattern="%highlightError{[%d{HH:mm:ss} %level]: %msg%n%xEx{full}}" /> | ||
</LoggerNamePatternSelector> | ||
</PatternLayout> | ||
@@ -28,7 +28,7 @@ | ||
<LoggerNamePatternSelector defaultPattern="[%d{HH:mm:ss}] [%t/%level]: [%logger] %stripAnsi{%msg}%n%xEx{full}"> | ||
<!-- Log root, Minecraft, Mojang and Bukkit loggers without prefix --> | ||
<!-- Disable prefix for various plugins that bypass the plugin logger --> | ||
- <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE" | ||
+ <PatternMatch key=",net.minecraft.,Minecraft,com.mojang.,com.sk89q.,ru.tehkode.,Minecraft.AWE,ca.spottedleaf." | ||
pattern="[%d{HH:mm:ss}] [%t/%level]: %stripAnsi{%msg}%n%xEx{full}" /> | ||
</LoggerNamePatternSelector> | ||
</PatternLayout> |