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