Skip to content

Commit c812020

Browse files
authored
Merge pull request #89 from goboolean/feat/influxdb
debug: set to debug mode
2 parents 8c43c6f + 2bad2ac commit c812020

1 file changed

Lines changed: 4 additions & 6 deletions

File tree

internal/log/init.go

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,12 @@ import (
66
"github.com/sirupsen/logrus"
77
)
88

9-
10-
119
func init() {
1210
logrus.SetFormatter(&logrus.TextFormatter{
13-
DisableColors: false,
11+
DisableColors: false,
1412
DisableTimestamp: false,
15-
FullTimestamp: true,
13+
FullTimestamp: true,
1614
})
17-
logrus.SetLevel(logrus.InfoLevel)
15+
logrus.SetLevel(logrus.DebugLevel)
1816
logrus.SetOutput(os.Stdout)
19-
}
17+
}

0 commit comments

Comments
 (0)