diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-04-07 13:17:06 +0200 |
---|---|---|
committer | Gergely Nagy <forgejo@gergo.csillger.hu> | 2024-04-15 20:01:35 +0200 |
commit | 9b8de1579760c5fb930dcb0d8a7e92f858e5eec2 (patch) | |
tree | a36dcc7b096c80f97e9551b0ab2408033bbffeba /cmd | |
parent | Merge pull request 'Improve English locale' (#2941) from 0ko/forgejo:english2... (diff) | |
download | forgejo-9b8de1579760c5fb930dcb0d8a7e92f858e5eec2.tar.xz forgejo-9b8de1579760c5fb930dcb0d8a7e92f858e5eec2.zip |
Clean up log messages (#30313)
`log.Xxx("%v")` is not ideal, this PR adds necessary context messages.
Remove some unnecessary logs.
Co-authored-by: Giteabot <teabot@gitea.io>
(cherry picked from commit 83f83019ef3471b847a300f0821499b3896ec987)
Conflicts:
- modules/util/util.go
Conflict resolved by picking `util.Iif` from 654cfd1dfbd3f3f1d94addee50b6fe2b018a49c3
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/web.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/web.go b/cmd/web.go index ef82486c1f..44babd51c5 100644 --- a/cmd/web.go +++ b/cmd/web.go @@ -114,7 +114,7 @@ func showWebStartupMessage(msg string) { log.Info("* WorkPath: %s", setting.AppWorkPath) log.Info("* CustomPath: %s", setting.CustomPath) log.Info("* ConfigFile: %s", setting.CustomConf) - log.Info("%s", msg) + log.Info("%s", msg) // show startup message } func serveInstall(ctx *cli.Context) error { |