mirror of
https://github.com/goharbor/harbor
synced 2025-05-07 15:09:11 +00:00
Fixed the new logger module use error
This commit is contained in:
parent
508bf37424
commit
e46251f70b
@ -124,7 +124,7 @@ func init() {
|
||||
//conf/app.conf -> os.Getenv("config_path")
|
||||
configPath := os.Getenv("CONFIG_PATH")
|
||||
if len(configPath) != 0 {
|
||||
log.Printf("Config path: %s", configPath)
|
||||
log.Infof("Config path: %s", configPath)
|
||||
beego.AppConfigPath = configPath
|
||||
if err := beego.ParseConfig(); err != nil {
|
||||
log.Warningf("Failed to parse config file: %s, error: %v", configPath, err)
|
||||
|
Loading…
x
Reference in New Issue
Block a user