diff --git a/config/logging.go b/config/logging.go index d433839..0538548 100644 --- a/config/logging.go +++ b/config/logging.go @@ -49,13 +49,13 @@ func (f *CustomFormatter) Format(entry *logrus.Entry) ([]byte, error) { if errVal == nil { errVal = "\n" } else { - errVal = fmt.Sprintf("---%v\n\n", errVal) + errVal = fmt.Sprintf("%v\n", errVal) } cyanCode := f.getLevelColor(logrus.TraceLevel) filename := fmt.Sprintf("%s[%s:%d]%s", cyanCode, file, line, resetCode) - logLine := fmt.Sprintf("%s[%s]%v %s\n%v", + logLine := fmt.Sprintf("%s[%s]%v %s\t%v", coloredLevel, timestamp, filename, msg, errVal) return []byte(logLine), nil