mirror of
				https://github.com/caddyserver/caddy.git
				synced 2025-10-31 10:37:24 -04:00 
			
		
		
		
	Add {user} placeholder to CommonLogFormat (#1953)
This commit is contained in:
		
							parent
							
								
									1125a236ea
								
							
						
					
					
						commit
						a74320bf4c
					
				| @ -91,7 +91,7 @@ const ( | ||||
| 	// DefaultLogFilename is the default log filename. | ||||
| 	DefaultLogFilename = "access.log" | ||||
| 	// CommonLogFormat is the common log format. | ||||
| 	CommonLogFormat = `{remote} ` + CommonLogEmptyValue + " " + CommonLogEmptyValue + ` [{when}] "{method} {uri} {proto}" {status} {size}` | ||||
| 	CommonLogFormat = `{remote} ` + CommonLogEmptyValue + ` {user} [{when}] "{method} {uri} {proto}" {status} {size}` | ||||
| 	// CommonLogEmptyValue is the common empty log value. | ||||
| 	CommonLogEmptyValue = "-" | ||||
| 	// CombinedLogFormat is the combined log format. | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user