mirror of
https://github.com/duanhf2012/origin.git
synced 2026-03-05 21:57:33 +08:00
http调用时间 暂时去掉IP
This commit is contained in:
@@ -158,7 +158,7 @@ func (slf *HttpServerService) httpHandler(w http.ResponseWriter, r *http.Request
|
|||||||
|
|
||||||
TimeFuncPass := time.Since(TimeFuncStart)
|
TimeFuncPass := time.Since(TimeFuncStart)
|
||||||
if slf.IsPrintRequestTime() {
|
if slf.IsPrintRequestTime() {
|
||||||
service.GetLogger().Printf(service.LEVER_INFO, "HttpServer Time : %s IP : %S url : %s", TimeFuncPass, strCallPath)
|
service.GetLogger().Printf(service.LEVER_INFO, "HttpServer Time : %s url : %s", TimeFuncPass, strCallPath)
|
||||||
}
|
}
|
||||||
|
|
||||||
w.Header().Set("Content-Type", "application/json;charset=utf-8")
|
w.Header().Set("Content-Type", "application/json;charset=utf-8")
|
||||||
|
|||||||
Reference in New Issue
Block a user