Use structured logging instead of printf
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user