<?xml version="1.0" encoding="UTF-8"?>

<configuration scan="true">

	<appender name="infoFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
		<Encoding>UTF-8</Encoding>
		<file>/data/logs/manager.com/manager.log</file>
		<rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
			<FileNamePattern>/data/logs/manager.com/manager.%d{yyyy-MM-dd}.log.zip</FileNamePattern>
			<maxHistory>30</maxHistory>
		</rollingPolicy>
		<layout class="ch.qos.logback.classic.PatternLayout">
			<pattern>%-20(%d{HH:mm:ss.SSS} [%thread][line:%L]) %-5level %logger{80} - %msg%n</pattern>
		</layout>
	</appender>


	<logger name="org.springframework">
		<level value="warn" />
	</logger>

	<logger name="org.hibernate">
		<level value="warn" />
	</logger>

	<logger name="org.apache.phoenix">
		<level value="warn" />
	</logger>

	<logger name="org.apache.zookeeper">
		<level value="warn" />
	</logger>


	<logger name="org.apache.hadoop">
		<level value="warn" />
	</logger>
	<logger name="org.elasticsearch.plugins">
		<level value="warn" />
	</logger>

	<root level="info">
		<appender-ref ref="infoFile" />
		<appender-ref ref="cat" />
	</root>

</configuration>  