You've already forked oauth2-proxy
							
							
				mirror of
				https://github.com/oauth2-proxy/oauth2-proxy.git
				synced 2025-10-30 23:47:52 +02:00 
			
		
		
		
	Merge pull request #918 from oauth2-proxy/fix-log-caller
Fix log header output
This commit is contained in:
		| @@ -43,6 +43,7 @@ | ||||
|  | ||||
| ## Changes since v6.1.1 | ||||
|  | ||||
| - [#918](https://github.com/oauth2-proxy/oauth2-proxy/pull/918) Fix log header output (@JoelSpeed) | ||||
| - [#911](https://github.com/oauth2-proxy/oauth2-rpoxy/pull/911) Validate provider type on startup. | ||||
| - [#906](https://github.com/oauth2-proxy/oauth2-proxy/pull/906) Set up v6.1.x versioned documentation as default documentation (@JoelSpeed) | ||||
| - [#905](https://github.com/oauth2-proxy/oauth2-proxy/pull/905) Remove v5 legacy sessions support (@NickMeves) | ||||
|   | ||||
| @@ -162,7 +162,7 @@ func (l *Logger) Output(lvl Level, calldepth int, message string) { | ||||
| 	if !l.stdEnabled { | ||||
| 		return | ||||
| 	} | ||||
| 	msg := l.formatLogMessage(calldepth, message) | ||||
| 	msg := l.formatLogMessage(calldepth+1, message) | ||||
|  | ||||
| 	var err error | ||||
| 	switch lvl { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user