[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

View file

@ -238,7 +238,7 @@ func generateLogConfig(sec *ini.Section, name string, defaults defaultLogOptions
sendTos[i] = strings.TrimSpace(address)
}
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)
@ -328,7 +328,7 @@ func initLogFrom(rootCfg ConfigProvider) {
Provider: provider,
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)