logging: small updates for logging.
This commit is contained in:
parent
2f19673dc4
commit
32f6c7aa28
2 changed files with 2 additions and 2 deletions
|
|
@ -948,7 +948,7 @@ class User(Base, BaseModel):
|
|||
old.update(**kwargs)
|
||||
usr.user_data = old
|
||||
Session().add(usr)
|
||||
log.debug('updated userdata with ', kwargs)
|
||||
log.debug('updated userdata with %s', kwargs)
|
||||
|
||||
def update_lastlogin(self):
|
||||
"""Update user lastlogin"""
|
||||
|
|
|
|||
|
|
@ -328,7 +328,7 @@ class UserModel(BaseModel):
|
|||
new_user = User()
|
||||
edit = False
|
||||
else:
|
||||
log.debug('updating user %s', username)
|
||||
log.debug('updating user `%s`', username)
|
||||
events.trigger(events.UserPreUpdate(user, user_data))
|
||||
new_user = user
|
||||
edit = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue