style: add comment for including URL params in log path
This commit is contained in:
		 Grail Finder
					Grail Finder
				
			
				
					committed by
					
						 Grail Finder (aider)
						Grail Finder (aider)
					
				
			
			
				
	
			
			
			 Grail Finder (aider)
						Grail Finder (aider)
					
				
			
						parent
						
							985956b384
						
					
				
				
					commit
					ad8982a112
				
			| @@ -29,6 +29,7 @@ func LogRequests(next http.Handler) http.Handler { | ||||
| 		ww := &responseWriterWrapper{ResponseWriter: w} | ||||
| 		next.ServeHTTP(ww, r) | ||||
| 		duration := time.Since(start) | ||||
| 		// path should include url params; ai! | ||||
| 		log.Debug("request completed", | ||||
| 			"method", r.Method, | ||||
| 			"path", r.URL.Path, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user