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