128
126
tf = codecs.open(trace_fname, 'at', 'utf8', buffering=LINE_BUFFERED)
131
129
tf.write("\nthis is a debug log for diagnosing/reporting problems in bzr\n")
132
130
tf.write("you can delete or truncate this file, or include sections in\n")
133
131
tf.write("bug reports to bazaar-ng@lists.canonical.com\n\n")
135
132
_file_handler = logging.StreamHandler(tf)
136
133
fmt = r'[%(process)5d] %(asctime)s.%(msecs)03d %(levelname)s: %(message)s'