mirror of
1
Fork 0

[BRANDING] forgejo log message

This commit is contained in:
Rychart Redwerkz 2023-03-06 11:27:35 +01:00 committed by Gitea
parent dfe423fa6e
commit d51a046ebe
1 changed files with 2 additions and 2 deletions

View File

@ -238,7 +238,7 @@ func generateLogConfig(sec *ini.Section, name string, defaults defaultLogOptions
sendTos[i] = strings.TrimSpace(address) sendTos[i] = strings.TrimSpace(address)
} }
logConfig["sendTos"] = sendTos logConfig["sendTos"] = sendTos
logConfig["subject"] = sec.Key("SUBJECT").MustString("Diagnostic message from Gitea") logConfig["subject"] = sec.Key("SUBJECT").MustString("Diagnostic message from Forgejo")
} }
logConfig["colorize"] = sec.Key("COLORIZE").MustBool(false) logConfig["colorize"] = sec.Key("COLORIZE").MustBool(false)
@ -328,7 +328,7 @@ func initLogFrom(rootCfg ConfigProvider) {
Provider: provider, Provider: provider,
Config: config, Config: config,
}) })
log.Info("Gitea Log Mode: %s(%s:%s)", util.ToTitleCase(name), util.ToTitleCase(provider), levelName) log.Info("Forgejo Log Mode: %s(%s:%s)", util.ToTitleCase(name), util.ToTitleCase(provider), levelName)
} }
AddLogDescription(log.DEFAULT, &description) AddLogDescription(log.DEFAULT, &description)