feat: add log for config file path

This commit is contained in:
langhuihui
2024-06-17 08:42:24 +08:00
parent 6360213cd7
commit 0dfd3e7450

View File

@@ -68,6 +68,8 @@ func Run(ctx context.Context, conf any) (err error) {
}
if ConfigRaw, err = os.ReadFile(v); err != nil {
log.Warn("read config file error:", err.Error())
} else {
log.Info("load config file:", v)
}
case []byte:
ConfigRaw = v