Message81274
if i configure logging into a file with encoding = 'cp1251' and do
logger.debug(u'...') then i get crash with UnicodeError
i suggest reimplementing method FileHandler.emit():
...
if isinstance(msg, unicode):
stream.write(f % msg) # it works!
... |
|
Date |
User |
Action |
Args |
2009-02-06 16:07:47 | shamilbi | set | recipients:
+ shamilbi |
2009-02-06 16:07:47 | shamilbi | set | messageid: <1233936467.22.0.152712476213.issue5170@psf.upfronthosting.co.za> |
2009-02-06 16:07:46 | shamilbi | link | issue5170 messages |
2009-02-06 16:07:45 | shamilbi | create | |
|