Skip to content
Snippets Groups Projects
Unverified Commit d3ddc357 authored by Ryan Abrams's avatar Ryan Abrams Committed by GitHub
Browse files

Merge pull request #2854 from manishtomar/log-authed-name

Log authorized username
parents c192a281 ec6566c0
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -862,7 +862,7 @@ func (app *App) authorized(w http.ResponseWriter, r *http.Request, context *Cont
return err
}
 
dcontext.GetLogger(ctx).Info("authorized request")
dcontext.GetLogger(ctx, auth.UserNameKey).Info("authorized request")
// TODO(stevvooe): This pattern needs to be cleaned up a bit. One context
// should be replaced by another, rather than replacing the context on a
// mutable object.
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment