summaryrefslogtreecommitdiffstats
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/convert.go1
-rw-r--r--cmd/dump_repo.go1
-rw-r--r--cmd/migrate.go1
-rw-r--r--cmd/migrate_storage.go1
4 files changed, 4 insertions, 0 deletions
diff --git a/cmd/convert.go b/cmd/convert.go
index e2ffd403ac..aa404d64fa 100644
--- a/cmd/convert.go
+++ b/cmd/convert.go
@@ -31,6 +31,7 @@ func runConvert(ctx *cli.Context) error {
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)
setting.InitDBConfig()
if !setting.Database.UseMySQL {
diff --git a/cmd/dump_repo.go b/cmd/dump_repo.go
index 69813e3c87..3ea82f6d1a 100644
--- a/cmd/dump_repo.go
+++ b/cmd/dump_repo.go
@@ -84,6 +84,7 @@ func runDumpRepository(ctx *cli.Context) error {
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)
setting.InitDBConfig()
var (
diff --git a/cmd/migrate.go b/cmd/migrate.go
index 23bc97b0c4..afed07f538 100644
--- a/cmd/migrate.go
+++ b/cmd/migrate.go
@@ -32,6 +32,7 @@ func runMigrate(ctx *cli.Context) error {
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)
setting.InitDBConfig()
if err := models.NewEngine(context.Background(), migrations.Migrate); err != nil {
diff --git a/cmd/migrate_storage.go b/cmd/migrate_storage.go
index 8123716f9b..08524953b4 100644
--- a/cmd/migrate_storage.go
+++ b/cmd/migrate_storage.go
@@ -114,6 +114,7 @@ func runMigrateStorage(ctx *cli.Context) error {
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)
setting.InitDBConfig()
if err := models.NewEngine(context.Background(), migrations.Migrate); err != nil {