mirror of
https://github.com/portainer/portainer.git
synced 2025-08-05 05:45:22 +02:00
Revert "fix(logs): add NOCOLOR option for use when exporting to greylog etc […" (#11178)
This reverts commit aca6d33548
.
This commit is contained in:
parent
a83321ebe6
commit
ed861044a7
2 changed files with 1 additions and 8 deletions
|
@ -42,13 +42,6 @@ func setLoggingMode(mode string) {
|
|||
TimeFormat: "2006/01/02 03:04PM",
|
||||
FormatMessage: formatMessage,
|
||||
})
|
||||
case "NOCOLOR":
|
||||
log.Logger = log.Output(zerolog.ConsoleWriter{
|
||||
Out: os.Stderr,
|
||||
TimeFormat: "2006/01/02 03:04PM",
|
||||
FormatMessage: formatMessage,
|
||||
NoColor: true,
|
||||
})
|
||||
case "JSON":
|
||||
log.Logger = log.Output(os.Stderr)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue