Merge "Use more efficient mask_dict_password to mask password"
This commit is contained in:
commit
e133c7e863
@ -40,7 +40,7 @@ class LogDriver(notifier.Driver):
|
||||
message['event_type']))
|
||||
method = getattr(logger, priority.lower(), None)
|
||||
if method:
|
||||
method(strutils.mask_password(jsonutils.dumps(message)))
|
||||
method(jsonutils.dumps(strutils.mask_dict_password(message)))
|
||||
else:
|
||||
warnings.warn('Unable to log message as notify cannot find a '
|
||||
'logger with the priority specified '
|
||||
|
Loading…
x
Reference in New Issue
Block a user