<configuration scan="true" scanPeriod="30 seconds">

	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<!-- encoders are assigned the type ch.qos.logback.classic.encoder.PatternLayoutEncoder 
			by default -->
		<encoder>
			<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
			</pattern>
		</encoder>
	</appender>


	<appender name="FILE" class="ch.qos.logback.core.FileAppender">
		<file>ctbrec.log</file>
		<filter class="ch.qos.logback.classic.filter.ThresholdFilter"> 
            <level>WARN</level>
        </filter>
		<encoder>
			<pattern>%date %level [%thread] %logger{10} [%file:%line] %msg%n
			</pattern>
		</encoder>
	</appender>
    <!--
	<appender name="SOCKET" class="ch.qos.logback.classic.net.SocketAppender">
		<RemoteHost>localhost</RemoteHost>
		<Port>4560</Port>
		<ReconnectionDelay>170</ReconnectionDelay>
		<IncludeCallerData>true</IncludeCallerData>
	</appender>
    -->

	<root level="debug">
		<appender-ref ref="STDOUT" />
		<appender-ref ref="FILE" />
		<!--
        <appender-ref ref="SOCKET" />
		-->
	</root>
	
	<logger name="ctbrec.LoggingInterceptor" level="INFO"/>
	<logger name="ctbrec.recorder.Chaturbate" level="INFO" />
	<logger name="ctbrec.recorder.server.HlsServlet" level="INFO"/>
	<logger name="ctbrec.recorder.server.RecorderServlet" level="INFO"/>
	<logger name="ctbrec.ui.CookieJarImpl" level="INFO"/>
	<logger name="ctbrec.ui.ThumbOverviewTab" level="DEBUG"/>
	<logger name="org.eclipse.jetty" level="INFO" />
	
</configuration>
