We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4372fab commit 4773282Copy full SHA for 4773282
cmd/serv.go
@@ -58,6 +58,9 @@ func setup(ctx context.Context, debug bool) {
58
setupConsoleLogger(log.TRACE, false, os.Stderr)
59
} else {
60
setupConsoleLogger(log.FATAL, false, os.Stderr)
61
+ // This log is used as a check to make sure there won't be any real log output in production to help to catch regressions early
62
+ // Because any log output will break the git protocol
63
+ log.Warn("Starting Gitea Serv .... (it should not be seen in production)")
64
}
65
setting.MustInstalled()
66
if _, err := os.Stat(setting.RepoRootPath); err != nil {
0 commit comments