We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f5b92e1 commit a2e6c76Copy full SHA for a2e6c76
pkg/logutils/stderr_log.go
@@ -38,7 +38,8 @@ func NewStderrLog(name string) *StderrLog {
38
39
sl.logger.Out = StdErr
40
formatter := &logrus.TextFormatter{
41
- DisableTimestamp: true, // `INFO[0007] msg` -> `INFO msg`
+ DisableTimestamp: true, // `INFO[0007] msg` -> `INFO msg`
42
+ EnvironmentOverrideColors: true,
43
}
44
if os.Getenv("LOG_TIMESTAMP") == "1" {
45
formatter.DisableTimestamp = false
0 commit comments