[FIX] config: correctly serialize log_handler to CSV

This commit is contained in:
Xavier Morel 2014-12-10 13:54:10 +01:00
parent 23ad48a91b
commit 9f4dea0891
1 changed files with 2 additions and 0 deletions

View File

@ -621,6 +621,8 @@ class configmanager(object):
continue
if opt in ('log_level',):
p.set('options', opt, loglevelnames.get(self.options[opt], self.options[opt]))
elif opt == 'log_handler':
p.set('options', opt, ','.join(self.options[opt]))
else:
p.set('options', opt, self.options[opt])