Browse Source

Merge branch 'feature/v1.3.8_wky' of BaseService/gateway into feature/v1.3.8

wangkaiyue 2 năm trước cách đây
mục cha
commit
9e354b7f65
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      core/logs/serverLogs.go

+ 1 - 1
core/logs/serverLogs.go

@@ -93,7 +93,7 @@ func (s *serverLog) RecordLogAndNotice(r *ghttp.Request, err error) {
 		s.SDb.AddLogToTask(PaseReq(handlerCtx, r))
 	}
 	//日志输出
-	log.WithContext(r.Context()).Error(contextDetail)
+	log.WithContext(r.Context()).Info(contextDetail)
 }
 
 func PaseReq(ctx *router.GContext, r *ghttp.Request) map[string]interface{} {