diff --git a/CHANGELOG.md b/CHANGELOG.md index 36fae3e4..50304a4f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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) diff --git a/pkg/logger/logger.go b/pkg/logger/logger.go index 3d1dced4..23696765 100644 --- a/pkg/logger/logger.go +++ b/pkg/logger/logger.go @@ -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 {