fix: 更新restagent为omc
This commit is contained in:
6
main.go
6
main.go
@@ -161,9 +161,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 restagent version: %s\n", config.Version)
|
||||
log.Infof("========================= OMC restagent startup =========================")
|
||||
log.Infof("OMC restagent 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user