1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2024-11-24 08:52:25 +02:00

Merge pull request #918 from oauth2-proxy/fix-log-caller

Fix log header output
This commit is contained in:
Joel Speed 2020-11-19 10:18:43 +00:00 committed by GitHub
commit 430355b203
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -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)

View File

@ -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 {