[gen] Log: prepend the user login.
This commit is contained in:
parent
9cccdebe24
commit
c8a9c04141
|
@ -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.'''
|
||||
|
|
|
@ -69,6 +69,7 @@ input.buttonSmall { width: 100px !important; font-size: 85%; height: 18px;
|
|||
.xhtml img { margin-right: 5px }
|
||||
.xhtml p { margin: 3px 0 7px 0 }
|
||||
.clickable { cursor: pointer }
|
||||
.help { cursor: help }
|
||||
.refLink { font-style: italic; padding-left: 5px; font-size: 90%; color: grey }
|
||||
.buttons { margin-left: 4px }
|
||||
.message { position: absolute; top: -40px; left: 50%; font-size: 90%;
|
||||
|
|
Loading…
Reference in a new issue