We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61d75f5 commit 8317a45Copy full SHA for 8317a45
test/functional/test_framework/test_framework.py
@@ -10,6 +10,7 @@
10
import sys
11
import shutil
12
import tempfile
13
+import time
14
import traceback
15
16
from .util import (
@@ -202,6 +203,7 @@ def _start_logging(self):
202
203
ch.setLevel(ll)
204
# Format logs the same as bitcoind's debug.log with microprecision (so log files can be concatenated and sorted)
205
formatter = logging.Formatter(fmt = '%(asctime)s.%(msecs)03d000 %(name)s (%(levelname)s): %(message)s', datefmt='%Y-%m-%d %H:%M:%S')
206
+ formatter.converter = time.gmtime
207
fh.setFormatter(formatter)
208
ch.setFormatter(formatter)
209
# add the handlers to the logger
0 commit comments