<?xml version="1.0" encoding="UTF-8"?>
<Configuration status="WARN">
    <Properties>
        <Property name="LOG_PATTERN">%d{yyyy-MM-dd'T'HH:mm:ss.SSSZ} %p %m%n</Property>
        <Property name="APP_LOG_ROOT">logs</Property>
    </Properties>

    <Appenders>

        <Console name="Console" target="SYSTEM_OUT">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%-20t] %-5level %-32logger{32} >   %msg%n"/>
        </Console>

        <RollingFile name="FileLog" fileName="${APP_LOG_ROOT}/game.log"
                     filePattern="${APP_LOG_ROOT}/game-%d{yyyy-MM-dd}-%i.log">
            <PatternLayout pattern="%d{HH:mm:ss.SSS} [%-20t] %-5level %-32logger{32} >   %msg%n"/>
            <Policies>
                <SizeBasedTriggeringPolicy size="18MB" />
            </Policies>
        </RollingFile>
    </Appenders>

    <Loggers>
    
    	<!--  Uncomment to enable Ticker debugging
    	<Logger name="Ticker Coordinator" level="DEBUG" />
    	<Logger name="Ticker 0" level="DEBUG" />
    	-->
    	
        <Root level="info">
            <AppenderRef ref="FileLog"  />
            <AppenderRef ref="Console"  />
        </Root>

    </Loggers>
</Configuration>