Use iterable object for 'args' in log record

Change-Id: I6948e766d08c3e781a699cca8212b4303aae3273
Closes-Bug: #1674185
This commit is contained in:
Hongbin Lu 2017-03-19 20:05:07 -05:00
parent ad15e556c3
commit 3c47348ced
1 changed files with 1 additions and 1 deletions

View File

@ -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)))