fix logger bug
This commit is contained in:
parent
5584757ff4
commit
3038c6c22c
10
conf/new.go
10
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
|
||||
|
|
Loading…
Reference in New Issue