git.iko.soy/typeable/oauth2-proxy
on master help sign in
Merge pull request #918 from oauth2-proxy/fix-log-caller
430355bJoel Speed
CHANGELOG.md+1
@@ -43,6 +43,7 @@
43
43
44## Changes since v6.1.1
44## Changes since v6.1.1
45
45
46+- [#918](https://github.com/oauth2-proxy/oauth2-proxy/pull/918) Fix log header output (@JoelSpeed)
46- [#911](https://github.com/oauth2-proxy/oauth2-rpoxy/pull/911) Validate provider type on startup.
47- [#911](https://github.com/oauth2-proxy/oauth2-rpoxy/pull/911) Validate provider type on startup.
47- [#906](https://github.com/oauth2-proxy/oauth2-proxy/pull/906) Set up v6.1.x versioned documentation as default documentation (@JoelSpeed)
48- [#906](https://github.com/oauth2-proxy/oauth2-proxy/pull/906) Set up v6.1.x versioned documentation as default documentation (@JoelSpeed)
48- [#905](https://github.com/oauth2-proxy/oauth2-proxy/pull/905) Remove v5 legacy sessions support (@NickMeves)
49- [#905](https://github.com/oauth2-proxy/oauth2-proxy/pull/905) Remove v5 legacy sessions support (@NickMeves)
pkg/logger/logger.go+1−1
@@ -162,7 +162,7 @@ func (l *Logger) Output(lvl Level, calldepth int, message string) {
162 if !l.stdEnabled {
162 if !l.stdEnabled {
163 return
163 return
164 }
164 }
165− msg := l.formatLogMessage(calldepth, message)
165+ msg := l.formatLogMessage(calldepth+1, message)
166
166
167 var err error
167 var err error
168 switch lvl {
168 switch lvl {