-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stop colorizing log files by default #6949
Conversation
Codecov Report
@@ Coverage Diff @@
## master #6949 +/- ##
=========================================
Coverage ? 41.48%
=========================================
Files ? 441
Lines ? 59662
Branches ? 0
=========================================
Hits ? 24750
Misses ? 31689
Partials ? 3223
Continue to review full report at Codecov.
|
@@ -113,7 +112,6 @@ func generateLogConfig(sec *ini.Section, name string, defaults defaultLogOptions | |||
panic(err.Error()) | |||
} | |||
|
|||
logConfig["colorize"] = sec.Key("COLORIZE").MustBool(runtime.GOOS != "windows") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So file logs always have no colorize?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nope it falls through to:
So it just defaults to false
Fix #6942