Skip to content

Instantly share code, notes, and snippets.


Pokechu22/log4j.xml Secret

Created Apr 27, 2016
What would you like to do?
Full debug logging config (with milliseconds)
<?xml version="1.0" encoding="UTF-8"?>
<!-- -->
<Configuration status="WARN" packages="net.minecraft,com.mojang">
<Console name="SysOut" target="SYSTEM_OUT">
<PatternLayout pattern="[%d{HH:mm:ss.SSS}] [%t/%level]: %msg%n" />
<Queue name="ServerGuiConsole">
<PatternLayout pattern="[%d{HH:mm:ss.SSS} %level]: %msg%n" />
<RollingRandomAccessFile name="File" fileName="logs/latest.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz">
<PatternLayout pattern="[%d{HH:mm:ss.SSS}] [%t/%level]: %msg%n" />
<TimeBasedTriggeringPolicy />
<OnStartupTriggeringPolicy />
<Root level="debug">
<AppenderRef ref="SysOut"/>
<AppenderRef ref="File"/>
<AppenderRef ref="ServerGuiConsole"/>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.