aboutsummaryrefslogtreecommitdiff
path: root/log4j2.xml
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-22 11:45:08 +0200
committerhannibal2 <24389977+hannibal00212@users.noreply.github.com>2024-04-22 11:45:08 +0200
commite76b3561bf60f62afcf4a4d667492beb85f35f85 (patch)
treeb98c2e9277a083699b5fbe14fc5e768506c1ca64 /log4j2.xml
parent59d5e664cd5cd5b6fc4a40d4ecfee3842871bb2e (diff)
downloadskyhanni-e76b3561bf60f62afcf4a4d667492beb85f35f85.tar.gz
skyhanni-e76b3561bf60f62afcf4a4d667492beb85f35f85.tar.bz2
skyhanni-e76b3561bf60f62afcf4a4d667492beb85f35f85.zip
Revert "Backend: Add unimined build system (#1456)"
This reverts commit 40309bc8acb7afb37bbc99d7a758c24ffd962b4c.
Diffstat (limited to 'log4j2.xml')
-rw-r--r--log4j2.xml53
1 files changed, 0 insertions, 53 deletions
diff --git a/log4j2.xml b/log4j2.xml
deleted file mode 100644
index b37b4235d..000000000
--- a/log4j2.xml
+++ /dev/null
@@ -1,53 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Configuration status="WARN" packages="com.mojang.util,net.minecrell.terminalconsole.util">
- <Appenders>
-
- <!-- System out -->
- <Console name="SysOut" target="SYSTEM_OUT">
- <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="false">
- <!-- Dont show the logger name for minecraft classes-->
- <PatternMatch key="net.minecraft.,com.mojang." pattern="%style{[%d{HH:mm:ss}]}{blue} %highlight{[%t/%level]}{FATAL=red, ERROR=red, WARN=yellow, INFO=green, DEBUG=green, TRACE=blue} %style{(Minecraft)}{cyan} %highlight{%msg{nolookups}%n}{FATAL=red, ERROR=red, WARN=normal, INFO=normal, DEBUG=normal, TRACE=normal}"/>
- </LoggerNamePatternSelector>
- </PatternLayout>
- </Console>
-
- <!-- latest.log same as vanilla -->
- <RollingRandomAccessFile name="LatestFile" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
- <PatternLayout>
- <LoggerNamePatternSelector defaultPattern="[%d{HH:mm:ss}] [%t/%level] (%logger{1}) %msg{nolookups}%n">
- <!-- Dont show the logger name for minecraft classes-->
- <PatternMatch key="net.minecraft.,com.mojang." pattern="[%d{HH:mm:ss}] [%t/%level] (Minecraft) %msg{nolookups}%n"/>
- </LoggerNamePatternSelector>
- </PatternLayout>
- <Policies>
- <TimeBasedTriggeringPolicy />
- <OnStartupTriggeringPolicy />
- </Policies>
- </RollingRandomAccessFile>
-
- <!-- Debug log file -->
- <RollingRandomAccessFile name="DebugFile" fileName="logs/debug.log" filePattern="logs/debug-%i.log.gz">
- <PatternLayout pattern="[%d{HH:mm:ss}] [%t/%level] (%logger) %msg{nolookups}%n" />
-
- <!-- Keep 5 files max -->
- <DefaultRolloverStrategy max="5" fileIndex="min"/>
-
- <Policies>
- <SizeBasedTriggeringPolicy size="200MB"/>
- <OnStartupTriggeringPolicy />
- </Policies>
-
- </RollingRandomAccessFile>
- </Appenders>
- <Loggers>
- <Logger level="${sys:fabric.log.level:-info}" name="net.minecraft"/>
- <Logger level="warn" name="cpw.mods.modlauncher.ClassTransformer"/>
- <Root level="all">
- <AppenderRef ref="DebugFile" level="${sys:fabric.log.debug.level:-debug}"/>
- <AppenderRef ref="SysOut" level="${sys:fabric.log.level:-info}"/>
- <AppenderRef ref="LatestFile" level="${sys:fabric.log.level:-info}"/>
- <AppenderRef ref="ServerGuiConsole" level="${sys:fabric.log.level:-info}"/>
- </Root>
- </Loggers>
-</Configuration>