【SpringBoot】指定log4j日志框架




	
		????
		%xwEx
		%5p
		yyyy-MM-dd HH:mm:ss.SSS
		%clr{%d{${LOG_DATEFORMAT_PATTERN}}}{faint} %clr{${LOG_LEVEL_PATTERN}} %clr{${sys:PID}}{magenta} %clr{---}{faint} %clr{[%15.15t]}{faint} %clr{%-40.40c{1.}}{cyan} %clr{:}{faint} %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}
		%d{${LOG_DATEFORMAT_PATTERN}} ${LOG_LEVEL_PATTERN} ${sys:PID} --- [%t] %-40.40c{1.} : %m%n${sys:LOG_EXCEPTION_CONVERSION_WORD}
	
	
		
			
		
	
	
		
		
		
		
		
		
		
		
		
			
		
	

Reference

https://www.cnblogs.com/qq931399960/p/9962401.html
https://dzone.com/articles/log4j-2-configuration-using-properties-file
https://www.baeldung.com/spring-boot-logging
https://blog.csdn.net/loongshawn/article/details/50951329
https://docs.spring.io/spring-boot/docs/current/reference/htmlsingle/#boot-features-logging

你可能感兴趣的:(Solr)