diff options
author | zeripath <art27@cantab.net> | 2021-09-14 02:24:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-13 21:24:57 -0400 |
commit | 04b233e9408296fa14eb7623b7dbe0d98c1865f1 (patch) | |
tree | 16455ab171377dec72a732c4fb604acc2cc3d4ca /routers/init.go | |
parent | 8af7a21085b73379e5f268c7a52ea77c51bb9246 (diff) | |
download | gitea-04b233e9408296fa14eb7623b7dbe0d98c1865f1.tar.gz gitea-04b233e9408296fa14eb7623b7dbe0d98c1865f1.zip |
Always emit the configuration path (#17036)
Often when handling problems it is not clear which configuration file Gitea is
using. This PR simply ensures that the configuration file is emitted.
Signed-off-by: Andrew Thornton <art27@cantab.net>
Diffstat (limited to 'routers/init.go')
-rw-r--r-- | routers/init.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/init.go b/routers/init.go index fe89c738ef..52eacfd02b 100644 --- a/routers/init.go +++ b/routers/init.go @@ -81,6 +81,7 @@ func GlobalInit(ctx context.Context) { log.Info("AppWorkPath: %s", setting.AppWorkPath) log.Info("Custom path: %s", setting.CustomPath) log.Info("Log path: %s", setting.LogRootPath) + log.Info("Configuration file: %s", setting.CustomConf) log.Info("Run Mode: %s", strings.Title(setting.RunMode)) // Setup i18n |