mirror of
				https://github.com/juspay/hyperswitch.git
				synced 2025-11-01 02:57:02 +08:00 
			
		
		
		
	feat(router): add request_details logger middleware for 400 bad requests (#3414)
Co-authored-by: Sampras lopes <lsampras@pm.me> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
		 Sai Harsha Vardhan
					Sai Harsha Vardhan
				
			
				
					committed by
					
						 GitHub
						GitHub
					
				
			
			
				
	
			
			
			 GitHub
						GitHub
					
				
			
						parent
						
							0e4e18441d
						
					
				
				
					commit
					dd0d2dc2dd
				
			| @ -268,5 +268,7 @@ pub fn get_application_builder( | ||||
|         .wrap(middleware::RequestId) | ||||
|         .wrap(cors::cors()) | ||||
|         .wrap(middleware::LogSpanInitializer) | ||||
|         // this middleware works only for Http1.1 requests | ||||
|         .wrap(middleware::Http400RequestDetailsLogger) | ||||
|         .wrap(router_env::tracing_actix_web::TracingLogger::default()) | ||||
| } | ||||
|  | ||||
		Reference in New Issue
	
	Block a user