[gen] Log: prepend the user login.
This commit is contained in:
parent
9cccdebe24
commit
c8a9c04141
2 changed files with 2 additions and 1 deletions
|
@ -563,7 +563,7 @@ class BaseMixin:
|
|||
if type == 'warning': logMethod = logger.warn
|
||||
elif type == 'error': logMethod = logger.error
|
||||
else: logMethod = logger.info
|
||||
logMethod(msg)
|
||||
logMethod('%s: %s' % (self.getTool().getUser().login, msg))
|
||||
|
||||
def do(self):
|
||||
'''Performs some action from the user interface.'''
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue