Logging with a non-ascii string raises UnicodeError in the standard logging package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Confirmed
|
Low
|
Unassigned |
Bug Description
This is due to the fact that logging.
=== modified file 'bzrlib/trace.py'
--- bzrlib/trace.py 2009-01-08 17:53:46 +0000
+++ bzrlib/trace.py 2009-01-16 07:39:12 +0000
@@ -269,9 +269,7 @@
r'%Y-%m-%d %H:%M:%S')
# after hooking output into bzr_log, we also need to attach a stderr
# handler, writing only at level info and with encoding
- writer_factory = codecs.
- encoded_stderr = writer_
- stderr_handler = logging.
+ stderr_handler = logging.
stderr_
logging.
Changed in bzr: | |
assignee: | nobody → Martin Pool (mbp) |
status: | Confirmed → In Progress |
tags: | added: check-for-breezy |
Whitespaces in the description seem to be merged. Attaching the diff file.