当前位置 : 主页 > 编程语言 > c++ >

logback配置

来源:互联网 收集:自由互联 发布时间:2021-06-30
logback.xml %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n ${log_file_path}/${project_name}.log ${log_file_path}/${project_name}.log.%d{yyyy-MM-dd-HH}.log 30 200mb %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n ${l
logback.xml
 

 

	
  
	
  
	
  

	
  
	
   
    
    
     %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
     
    
  

	
  
	
   
   
    ${log_file_path}/${project_name}.log
    
    
    
     ${log_file_path}/${project_name}.log.%d{yyyy-MM-dd-HH}.log
     
     
    
     30
     
     
     
      200mb
      
     
    
    
    
     %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
     
    
  

	
  
	
   
   
    ${log_file_path}/${project_name}.log
    
    
    
     ${log_file_path}/${project_name}.log.%d{yyyy-MM-dd-HH}.log
     
    
     200MB
     
    
     60
     
    
     10GB
     
    
    
    
     %date{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n
     
    
  

    
    
    
    

	
  
	
    

 
网友评论