Use iterable object for 'args' in log record
Change-Id: I6948e766d08c3e781a699cca8212b4303aae3273 Closes-Bug: #1674185
This commit is contained in:
parent
ad15e556c3
commit
3c47348ced
@ -163,7 +163,7 @@ class PrivsepLogHandler(pylogging.Handler):
|
||||
|
||||
# serialise msg now so we can drop (potentially unserialisable) args
|
||||
data['msg'] = record.getMessage()
|
||||
data['args'] = None
|
||||
data['args'] = ()
|
||||
|
||||
self.channel.send((None, (Message.LOG, data)))
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user