diff --git a/conf/new.go b/conf/new.go index 64fb3bd..56324b2 100644 --- a/conf/new.go +++ b/conf/new.go @@ -111,11 +111,11 @@ func InitLoggerConf(cfg *LogConf) *LogConf { return &LogConf{ Name: strings.ToLower(vars.ServiceKey), Level: vars.LogLevel(vars.DEBUG), - Dir: cfg.Dir, - Endpoint: cfg.Endpoint, - Console: cfg.Console, - File: cfg.File, - Remote: cfg.Remote, + Dir: "./logs/", + Endpoint: "", + Console: true, + File: true, + Remote: false, } } return cfg