Just a second...

Log4j2.xml

Use the Log4j2.xml configuration file to configure the behavior of the log4j2 logging framework.

<Configuration status="warn" name="Diffusion">

    <Properties>
        <Property name="diffusion.log.dir">../logs</Property>

        <!-- The log directory can be be overridden using the system property 'diffusion.log.dir'. -->
        <Property name="log.dir">${sd:diffusion.log.dir}</Property>

        <Property name="pattern">%date{yyyy-MM-dd HH:mm:ss.SSS}|%level|%thread|%marker|%replace{%msg}{\|}{¦}|%logger%n%xEx
        </Property>
    </Properties>

    <Appenders>
        <Console name="console">
            <PatternLayout pattern="${pattern}" />
        </Console>

        <RollingRandomAccessFile name="file" immediateFlush="false" fileName="${log.dir}/Server.log"
            filePattern="${log.dir}/$${date:yyyy-MM}/Server-%d{MM-dd-yyyy}-%i.log.gz">

            <PatternLayout pattern="${pattern}" />

            <Policies>
                <OnStartupTriggeringPolicy />
                <TimeBasedTriggeringPolicy />
                <SizeBasedTriggeringPolicy size="250 MB" />
            </Policies>

            <DefaultRolloverStrategy max="20" />
        </RollingRandomAccessFile>
    </Appenders>

    <Loggers>
        <AsyncRoot level="info" includeLocation="false">
            <AppenderRef ref="console" />
            <AppenderRef ref="file" />
        </AsyncRoot>
    </Loggers>
</Configuration>