File tree 6 files changed +6
-0
lines changed 6 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ func runConvert(ctx *cli.Context) error {
31
31
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
32
32
log .Info ("Custom path: %s" , setting .CustomPath )
33
33
log .Info ("Log path: %s" , setting .LogRootPath )
34
+ log .Info ("Configuration file: %s" , setting .CustomConf )
34
35
setting .InitDBConfig ()
35
36
36
37
if ! setting .Database .UseMySQL {
Original file line number Diff line number Diff line change @@ -84,6 +84,7 @@ func runDumpRepository(ctx *cli.Context) error {
84
84
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
85
85
log .Info ("Custom path: %s" , setting .CustomPath )
86
86
log .Info ("Log path: %s" , setting .LogRootPath )
87
+ log .Info ("Configuration file: %s" , setting .CustomConf )
87
88
setting .InitDBConfig ()
88
89
89
90
var (
Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ func runMigrate(ctx *cli.Context) error {
32
32
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
33
33
log .Info ("Custom path: %s" , setting .CustomPath )
34
34
log .Info ("Log path: %s" , setting .LogRootPath )
35
+ log .Info ("Configuration file: %s" , setting .CustomConf )
35
36
setting .InitDBConfig ()
36
37
37
38
if err := models .NewEngine (context .Background (), migrations .Migrate ); err != nil {
Original file line number Diff line number Diff line change @@ -114,6 +114,7 @@ func runMigrateStorage(ctx *cli.Context) error {
114
114
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
115
115
log .Info ("Custom path: %s" , setting .CustomPath )
116
116
log .Info ("Log path: %s" , setting .LogRootPath )
117
+ log .Info ("Configuration file: %s" , setting .CustomConf )
117
118
setting .InitDBConfig ()
118
119
119
120
if err := models .NewEngine (context .Background (), migrations .Migrate ); err != nil {
Original file line number Diff line number Diff line change @@ -81,6 +81,7 @@ func GlobalInit(ctx context.Context) {
81
81
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
82
82
log .Info ("Custom path: %s" , setting .CustomPath )
83
83
log .Info ("Log path: %s" , setting .LogRootPath )
84
+ log .Info ("Configuration file: %s" , setting .CustomConf )
84
85
log .Info ("Run Mode: %s" , strings .Title (setting .RunMode ))
85
86
86
87
// Setup i18n
Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ func PreloadSettings(ctx context.Context) bool {
22
22
log .Info ("AppWorkPath: %s" , setting .AppWorkPath )
23
23
log .Info ("Custom path: %s" , setting .CustomPath )
24
24
log .Info ("Log path: %s" , setting .LogRootPath )
25
+ log .Info ("Configuration file: %s" , setting .CustomConf )
25
26
log .Info ("Preparing to run install page" )
26
27
translation .InitLocales ()
27
28
if setting .EnableSQLite3 {
You can’t perform that action at this time.
0 commit comments