Compare commits

..

1 Commits

Author SHA1 Message Date
3038c6c22c fix logger bug 2025-10-04 18:22:19 +08:00

View File

@@ -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