summaryrefslogtreecommitdiff
path: root/testrig/log.go
diff options
context:
space:
mode:
Diffstat (limited to 'testrig/log.go')
-rw-r--r--testrig/log.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/testrig/log.go b/testrig/log.go
index 2761eb3f8..439ed72b0 100644
--- a/testrig/log.go
+++ b/testrig/log.go
@@ -26,6 +26,7 @@ import (
// InitTestLog sets the global logger to trace level for logging
func InitTestLog() {
+ log.SetTimeFormat(config.GetLogTimestampFormat())
// Set the global log level from configuration
if err := log.ParseLevel(config.GetLogLevel()); err != nil {
log.Panicf(nil, "error parsing log level: %v", err)