internal/postgres,fetch: remove unnecessary logging

Change-Id: Ibe744a8c687159529a33642615f653ddaed2f65b
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/279459
Trust: Jonathan Amsterdam <jba@google.com>
Run-TryBot: Jonathan Amsterdam <jba@google.com>
TryBot-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Julie Qiu <julie@golang.org>
diff --git a/internal/fetch/fetch.go b/internal/fetch/fetch.go
index 939474c..6377426 100644
--- a/internal/fetch/fetch.go
+++ b/internal/fetch/fetch.go
@@ -133,7 +133,6 @@
 		if fi != nil {
 			finishFetchInfo(fi, fr.Status, fr.Error)
 		}
-		log.Debugf(ctx, "memory after fetch of %s@%s: %dM", modulePath, requestedVersion, allocMeg())
 	}()
 
 	var (
diff --git a/internal/postgres/insert_module.go b/internal/postgres/insert_module.go
index d18074b..21df64f 100644
--- a/internal/postgres/insert_module.go
+++ b/internal/postgres/insert_module.go
@@ -303,7 +303,6 @@
 		return err
 	}
 
-	log.Debugf(ctx, "insertUnits(%q): read %d paths", m.ModulePath, len(pathToID))
 	// Insert any unit paths that we don't already have.
 	var pathValues []interface{}
 	for _, u := range m.Units {
@@ -312,7 +311,6 @@
 		}
 	}
 	if len(pathValues) > 0 {
-		log.Debugf(ctx, "insertUnits(%q): upserting %d paths", m.ModulePath, len(pathValues))
 		// Insert data into the paths table.
 		pathCols := []string{"path"}
 		uniquePathCols := []string{"path"}