Browse Source

Use structured logging instead of printf

Sean Lafferty 6 years ago
parent
commit
be6e76ee35
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pkg/login/ext_user.go

+ 1 - 1
pkg/login/ext_user.go

@@ -172,7 +172,7 @@ func updateUserAuth(user *m.User, extUser *m.ExternalUserInfo) error {
 		OAuthToken: extUser.OAuthToken,
 	}
 
-	log.Debug("Updating user_auth info for user_id %d", user.Id)
+	log.Debug("Updating user_auth info", "user_id", user.Id)
 	return bus.Dispatch(updateCmd)
 }