feat: add env var to set log level

This commit is contained in:
RockYang
2023-07-31 08:34:11 +08:00
parent bed184dc1f
commit c6062ee70e
3 changed files with 17 additions and 6 deletions

View File

@@ -57,7 +57,7 @@ func (h *ConfigHandler) Update(c *gin.Context) {
resp.ERROR(c, "Failed to update config cache: "+err.Error())
return
}
logger.Infof("Update AppServer's config successfully: %v", config.Config)
logger.Debugf("Update AppServer's config successfully: %v", config.Config)
}
resp.SUCCESS(c, config)