diff options
Diffstat (limited to 'modules/setting/log.go')
-rw-r--r-- | modules/setting/log.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/setting/log.go b/modules/setting/log.go index 43a28309d2..9f4bbf9d87 100644 --- a/modules/setting/log.go +++ b/modules/setting/log.go @@ -10,7 +10,6 @@ import ( "os" "path" "path/filepath" - "runtime" "strings" "code.gitea.io/gitea/modules/log" @@ -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") logConfig["filename"] = logPath logConfig["rotate"] = sec.Key("LOG_ROTATE").MustBool(true) logConfig["maxsize"] = 1 << uint(sec.Key("MAX_SIZE_SHIFT").MustInt(28)) |