<?xml version="1.0" encoding="UTF-8"?>
<Configuration>
<Appenders>
<Console name="log2console" target="SYSTEM_OUT">
<PatternLayout pattern="%d %-5p %c{1}:%L - %m%n"/>
</Console>
<RollingFile name="log2file" fileName="logs/client.log" filePattern="logs/client.%d{yyyy-MM-dd}-%i.log" ignoreExceptions="false">
<PatternLayout>
<Pattern>%d %-5p %c{1}:%L - %m%n</Pattern>
</PatternLayout>
<Policies>
<TimeBasedTriggeringPolicy interval="1"/>
<SizeBasedTriggeringPolicy size="100 MB"/>
</Policies>
<DefaultRolloverStrategy max="25" />
</RollingFile>
<Async name="async" bufferSize="1000">
<AppenderRef ref="log2file"/>
<LinkedTransferQueue/>
</Async>
</Appenders>
<Loggers>
<Logger name="javascript" level="INFO" additivity="false">
<AppenderRef ref="async"/>
</Logger>
<Logger name="zinc" level="debug" additivity="false">
<AppenderRef ref="async"/>
</Logger>
<!-- For debugging -->
<!--
<Logger name="zinc" level="debug" additivity="false">
<AppenderRef ref="async"/>
</Logger>
<Logger name="mercury" level="debug" additivity="false">
<AppenderRef ref="async"/>
</Logger>
<Logger name="slate" level="debug" additivity="false">
<AppenderRef ref="async"/>
</Logger>
<Logger name="cobalt" level="debug" additivity="false">
<AppenderRef ref="async"/>
</Logger>
-->
<Root level="WARN">
<AppenderRef ref="async"/>
</Root>
</Loggers>
</Configuration>