tx.powernukkitx.1.19.50-r1.source-code.log4j2.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <Configuration status="WARN" packages="org.apache.logging.log4j.core,io.sentry.log4j2"> <Appenders> <TerminalConsole name="Console"> <PatternLayout pattern="%cyan{%d{HH:mm:ss}} [%style{%highlight{%-5level}{STYLE=Logback}}] %minecraftFormatting{%msg}%n"/> </TerminalConsole> <RollingRandomAccessFile name="File" fileName="logs/server.log" filePattern="logs/%d{yyyy-MM-dd}-%i.log.gz"> <PatternLayout pattern="%d{yyy-MM-dd HH:mm:ss.SSS} [%t] %-5level - %msg%n"/> <Policies> <TimeBasedTriggeringPolicy/> <OnStartupTriggeringPolicy/> </Policies> </RollingRandomAccessFile> <Sentry name="Sentry" /> </Appenders> <Loggers> <Root level="INFO"> <AppenderRef ref="Sentry"/> <AppenderRef ref="Console"/> <AppenderRef ref="File"/> </Root> <Logger name="cn.nukkit.utils.Watchdog" level="WARN" additivity="false"> <AppenderRef ref="Console"/> <AppenderRef ref="File"/> </Logger> </Loggers> </Configuration>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy