# HG changeset patch # User Daniel Dourvaris # Date 2019-09-27 10:36:12 # Node ID 11fed5136abb91f9c6cffef243ec8bef8c8cd965 # Parent 2703bca5c50292ce728a93333baf5c6b14f4735e logging: small updates for logging. diff --git a/rhodecode/model/db.py b/rhodecode/model/db.py --- a/rhodecode/model/db.py +++ b/rhodecode/model/db.py @@ -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""" diff --git a/rhodecode/model/user.py b/rhodecode/model/user.py --- a/rhodecode/model/user.py +++ b/rhodecode/model/user.py @@ -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