Spring Boot下生产环境logback日志配置

阅读更多


	vhsc-api4
	
	
		
			%d %-5level %logger{36}[%line] - %msg%n
		
	

	
	
		
			DEBUG
			ACCEPT
			DENY
		
		${LOG_PATH}/debug.log
		
		
		
			
			${LOG_PATH}/debug.log.%d{yyyy-MM-dd}.%i.log
			
			60
			
			
				
				2KB
			
		
		
			%d %-5level %logger{36}[%line] - %msg%n
		
	

	
	
		
			INFO
			ACCEPT
			DENY
		
		${LOG_PATH}/info.log
		
			${LOG_PATH}/info.log.%d{yyyy-MM-dd}.%i.log
			60
			
				2KB
			
		
		
			%d %-5level %logger{36}[%line] - %msg%n
		
	
	
		
			WARN
			ACCEPT
			DENY
		
		${LOG_PATH}/warn.log
		
			${LOG_PATH}/warn.log.%d{yyyy-MM-dd}.%i.log
			60
			
				2KB
			
		
		
			%d %-5level %logger{36}[%line] - %msg%n
		
	
	
		
			ERROR
			ACCEPT
			DENY
		
		${LOG_PATH}/error.log
		
			${LOG_PATH}/error.log.%d{yyyy-MM-dd}.%i.log
			60
			
				2KB
			
		
		
			%d %-5level %logger{36}[%line] - %msg%n
		
	

	
		
		
		
		
	

	
		
			
			
			
			
			
		
	
	
		
			
			
			
			
		
	

 

你可能感兴趣的:(logback,spring,boot,日志配置)