diff --git a/log/fmt.go b/log/fmt.go index 5a6e5c52..4835038e 100644 --- a/log/fmt.go +++ b/log/fmt.go @@ -17,13 +17,14 @@ package log import ( "bytes" "fmt" + "os" "runtime" "sort" "strings" "time" - "github.com/abcum/logrus" "github.com/mgutz/ansi" + "github.com/sirupsen/logrus" ) const clear = ansi.Reset @@ -35,7 +36,7 @@ var ( func init() { baseTimestamp = time.Now() - isTerminal = logrus.IsTerminal() + isTerminal = logrus.IsTerminal(os.Stdout) } func miniTS() int { diff --git a/log/log.go b/log/log.go index b0968fe6..8ab59027 100644 --- a/log/log.go +++ b/log/log.go @@ -18,7 +18,7 @@ import ( "os" "time" - "github.com/abcum/logrus" + "github.com/sirupsen/logrus" ) var log *Logger