diff --git a/routers/private/serv.go b/routers/private/serv.go index c2c6b656c..b76199481 100644 --- a/routers/private/serv.go +++ b/routers/private/serv.go @@ -125,7 +125,6 @@ func ServCommand(ctx *macaron.Context) { return } } - log.Info("git oper to this.") for _, verb := range ctx.QueryStrings("verb") { // clone_cnt if verb == "git-upload-pack" { go repo.IncreaseCloneCnt() diff --git a/routers/repo/http.go b/routers/repo/http.go index cab29ba05..ad2abf567 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -9,7 +9,6 @@ import ( "bytes" "compress/gzip" gocontext "context" - "encoding/json" "fmt" "io/ioutil" "net/http" @@ -313,20 +312,6 @@ func HTTP(ctx *context.Context) { } environ = append(environ, models.ProtectedBranchRepoID+fmt.Sprintf("=%d", repo.ID)) - log.Info("git oper to this 2.") - - dataJson, _ := json.Marshal(ctx.Data) - log.Info("dataJson=" + string(dataJson)) - - reqJson, _ := json.Marshal(ctx.Req.Form) - log.Info("reqJson=" + string(reqJson)) - - log.Info("query go-get:" + ctx.Query("go-get")) - - log.Info("query service:" + ctx.Query("service")) - - paramJson, _ := json.Marshal(ctx.Params) - log.Info("paramJson=" + string(paramJson)) if service == "git-upload-pack" { // clone_cnt go repo.IncreaseCloneCnt()