|  | @ -81,8 +81,58 @@
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  |     <!-- 如果微服务纳入全局异常处理,请勿修改以上代码,有新的日志处理请在以下追加!!! -->
 |  |     <!-- 如果微服务纳入全局异常处理,请勿修改以上代码,有新的日志处理请在以下追加!!! -->
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |     <!-- Business Log Start -->
 | 
												
													
														
															|  | 
 |  |     <appender name="BusinessInfoFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
 | 
												
													
														
															|  | 
 |  |         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
 | 
												
													
														
															|  | 
 |  |             <fileNamePattern>${log_home}/business/info/%d{yyyy-MM-dd}.log</fileNamePattern>
 | 
												
													
														
															|  | 
 |  |         </rollingPolicy>
 | 
												
													
														
															|  | 
 |  |         <encoder>
 | 
												
													
														
															|  | 
 |  |             <pattern>${FILE_LOG_PATTERN}</pattern>
 | 
												
													
														
															|  | 
 |  |             <charset class="java.nio.charset.Charset">UTF-8</charset>
 | 
												
													
														
															|  | 
 |  |         </encoder>
 | 
												
													
														
															|  | 
 |  |         <filter class="ch.qos.logback.classic.filter.LevelFilter">
 | 
												
													
														
															|  | 
 |  |             <level>INFO</level>
 | 
												
													
														
															|  | 
 |  |             <onMatch>ACCEPT</onMatch>
 | 
												
													
														
															|  | 
 |  |             <onMismatch>DENY</onMismatch>
 | 
												
													
														
															|  | 
 |  |         </filter>
 | 
												
													
														
															|  | 
 |  |     </appender>
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |     <appender name="BusinessWarnFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
 | 
												
													
														
															|  | 
 |  |         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
 | 
												
													
														
															|  | 
 |  |             <fileNamePattern>${log_home}/business/warn/%d{yyyy-MM-dd}.log</fileNamePattern>
 | 
												
													
														
															|  | 
 |  |         </rollingPolicy>
 | 
												
													
														
															|  | 
 |  |         <encoder>
 | 
												
													
														
															|  | 
 |  |             <pattern>${FILE_LOG_PATTERN}</pattern>
 | 
												
													
														
															|  | 
 |  |             <charset class="java.nio.charset.Charset">UTF-8</charset>
 | 
												
													
														
															|  | 
 |  |         </encoder>
 | 
												
													
														
															|  | 
 |  |         <filter class="ch.qos.logback.classic.filter.LevelFilter">
 | 
												
													
														
															|  | 
 |  |             <level>WARN</level>
 | 
												
													
														
															|  | 
 |  |             <onMatch>ACCEPT</onMatch>
 | 
												
													
														
															|  | 
 |  |             <onMismatch>DENY</onMismatch>
 | 
												
													
														
															|  | 
 |  |         </filter>
 | 
												
													
														
															|  | 
 |  |     </appender>
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 
 |  |     <appender name="BusinessErrorFile" class="ch.qos.logback.core.rolling.RollingFileAppender">
 | 
												
													
														
															|  | 
 |  |         <rollingPolicy class="ch.qos.logback.core.rolling.TimeBasedRollingPolicy">
 | 
												
													
														
															|  | 
 |  |             <fileNamePattern>${log_home}/business/error/%d{yyyy-MM-dd}.log</fileNamePattern>
 | 
												
													
														
															|  | 
 |  |         </rollingPolicy>
 | 
												
													
														
															|  | 
 |  |         <encoder>
 | 
												
													
														
															|  | 
 |  |             <pattern>${FILE_LOG_PATTERN}</pattern>
 | 
												
													
														
															|  | 
 |  |             <charset class="java.nio.charset.Charset">UTF-8</charset>
 | 
												
													
														
															|  | 
 |  |         </encoder>
 | 
												
													
														
															|  | 
 |  |         <filter class="ch.qos.logback.classic.filter.LevelFilter">
 | 
												
													
														
															|  | 
 |  |             <level>ERROR</level>
 | 
												
													
														
															|  | 
 |  |             <onMatch>ACCEPT</onMatch>
 | 
												
													
														
															|  | 
 |  |             <onMismatch>DENY</onMismatch>
 | 
												
													
														
															|  | 
 |  |         </filter>
 | 
												
													
														
															|  | 
 |  |     </appender>
 | 
												
													
														
															|  | 
 |  |     <!-- Business Log End -->
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | 	<root level="INFO">
 |  | 	<root level="INFO">
 | 
												
													
														
															|  |         <appender-ref ref="console" />
 |  |         <appender-ref ref="console" />
 | 
												
													
														
															|  | 
 |  |         <appender-ref ref="BusinessInfoFile" />
 | 
												
													
														
															|  | 
 |  |         <appender-ref ref="BusinessWarnFile" />
 | 
												
													
														
															|  | 
 |  |         <appender-ref ref="BusinessErrorFile" />
 | 
												
													
														
															|  | 	</root>
 |  | 	</root>
 | 
												
													
														
															|  | 
 |  | 
 | 
												
													
														
															|  | </configuration>
 |  | </configuration>
 |