fix: 注释掉日志输出以减少启动时的冗余信息

This commit is contained in:
TsMask
2025-05-22 19:30:07 +08:00
parent deddd08a25
commit 64b82821f7
4 changed files with 6 additions and 6 deletions

View File

@@ -172,9 +172,9 @@ func loadFeatures(app *gin.Engine) {
conf := featuresCfg.GetYamlConfig()
log.InitLogger(conf.Logger.File, conf.Logger.Duration, conf.Logger.Count, "omc:restagent", featuresCfg.GetLogLevel())
fmt.Printf("OMC Version: %s\n", config.Version)
log.Infof("========================= OMC Startup =========================")
log.Infof("OMC Version: %s %s %s", config.Version, config.BuildTime, config.GoVer)
// fmt.Printf("OMC Version: %s\n", config.Version)
// log.Infof("========================= OMC Startup =========================")
// log.Infof("OMC Version: %s %s %s", config.Version, config.BuildTime, config.GoVer)
mml.InitMML()