Files
eight-track/src/main/resources/log4j2.xml
Isaac Parenteau f051e98768
All checks were successful
Locusworks Team/eight-track/pipeline/head This commit looks good
Updated files to work properly with applogger. Reworking how commands are called?
2020-05-30 21:58:46 -05:00

30 lines
919 B
XML

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE xml>
<Configuration status="WARN" shutdownHook="disable"
packages="net.locusworks.discord.eighttrack">
<Properties>
<Property name="logFormat">%d{dd-MMM-yyyy HH:mm:ss.SSS} %m%n</Property>
</Properties>
<Appenders>
<Console name="ConsoleAppender" target="SYSTEM_OUT">
<PatternLayout pattern="${logFormat}" />
</Console>
<RollingFile name="eighttrack"
fileName="logs/eighttrack.log"
filePattern="logs/eighttrack-%d{yyyy-MM-dd}.log.gz">
<PatternLayout pattern="${logFormat}" />
<Policies>
<TimeBasedTriggeringPolicy />
<SizeBasedTriggeringPolicy size="10 MB" />
</Policies>
</RollingFile>
</Appenders>
<Loggers>
<Root level="ALL"/>
<Logger name="net.locusworks.logger" level="ALL">
<AppenderRef ref="eighttrack"/>
<AppenderRef ref="ConsoleAppender"/>
</Logger>
</Loggers>
</Configuration>