mirror of https://github.com/0xERR0R/blocky.git
Forcing colors in logrus causes color escapes sequences when logging to file or pipe.
This commit is contained in:
parent
51ef9ea77f
commit
6ddee221e4
|
@ -69,7 +69,7 @@ func ConfigureLogger(logLevel Level, formatType FormatType, logTimestamp bool) {
|
|||
TimestampFormat: "2006-01-02 15:04:05",
|
||||
FullTimestamp: true,
|
||||
ForceFormatting: true,
|
||||
ForceColors: true,
|
||||
ForceColors: false,
|
||||
QuoteEmptyFields: true,
|
||||
DisableTimestamp: !logTimestamp}
|
||||
|
||||
|
|
Loading…
Reference in New Issue