<?xml version="1.0" encoding="UTF-8"?>
<configuration scan="true" scanPeriod="3 seconds">
	<!-- 控制台调试输出 -->
	<appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
		<encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
			<pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{50}:%L - %msg%n</pattern>
		</encoder>
		<!--日志级别过滤-->
		<filter class="ch.qos.logback.classic.filter.ThresholdFilter">
			<level>DEBUG</level>
		</filter>
	</appender>
	

	<!-- INFO级别以上的日志全部都输出，不同的级别输出在不同的文件里面 -->
	<root>
		<level value="INFO"/>
		<appender-ref ref="STDOUT" />
	</root>

	<logger name="io.micrometer.influx.InfluxRegistry" level="ERROR"/>
	<logger name="com.pcloud.book.book.dao" level="DEBUG"/>
	<logger name="com.pcloud.book.group.dao" level="DEBUG"/>

</configuration>