1
0
mirror of https://github.com/distribution/distribution synced 2024-11-06 19:35:52 +01:00

Merge pull request #706 from BrianBland/authLoggingWarnLevel

Reduces log level of auth error lines from error->warn
This commit is contained in:
Stephen Day 2015-07-16 12:50:55 -07:00
commit c4208c4cce

@ -359,7 +359,7 @@ func (app *App) dispatcher(dispatch dispatchFunc) http.Handler {
context := app.context(w, r)
if err := app.authorized(w, r, context); err != nil {
ctxu.GetLogger(context).Errorf("error authorizing context: %v", err)
ctxu.GetLogger(context).Warnf("error authorizing context: %v", err)
return
}