summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
authorwxiaoguang <wxiaoguang@gmail.com>2024-04-07 13:17:06 +0200
committerGergely Nagy <forgejo@gergo.csillger.hu>2024-04-15 20:01:35 +0200
commit9b8de1579760c5fb930dcb0d8a7e92f858e5eec2 (patch)
treea36dcc7b096c80f97e9551b0ab2408033bbffeba /cmd
parentMerge pull request 'Improve English locale' (#2941) from 0ko/forgejo:english2... (diff)
downloadforgejo-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.go2
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 {