From 95067bda40740002153ef796570c158277d0b369 Mon Sep 17 00:00:00 2001 From: Ian Norden Date: Thu, 6 Aug 2020 14:17:58 -0500 Subject: [PATCH] use full timestamp in logging --- main.go | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index e5061b7..e866716 100644 --- a/main.go +++ b/main.go @@ -15,8 +15,15 @@ package main -import "github.com/vulcanize/eth-pg-ipfs-state-snapshot/cmd" +import ( + "github.com/sirupsen/logrus" + + "github.com/vulcanize/eth-pg-ipfs-state-snapshot/cmd" +) func main() { + logrus.SetFormatter(&logrus.TextFormatter{ + FullTimestamp: true, + }) cmd.Execute() }