Skip to content

Commit 861dc11

Browse files
authored
Merge pull request #72 from akto-api-security/remove_logs
remove gc logs
2 parents f53f8fc + af1ac7d commit 861dc11

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

trafficUtil/utils/stats.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,13 @@ func LogMemoryStats() int {
2828

2929
// gc stats
3030

31-
log.Println("Last gc finished: ", m.LastGC)
32-
log.Println("Target heap size of next gc cycle: ", m.NextGC)
33-
log.Println("Stop The world pauses ", m.PauseTotalNs)
34-
log.Println("GcSys ", m.GCSys)
35-
log.Println("GCCPUFraction ", m.GCCPUFraction)
36-
log.Println("NumGC ", m.NumGC)
37-
log.Println("NumForcedGC ", m.NumForcedGC)
31+
//log.Println("Last gc finished: ", m.LastGC)
32+
//log.Println("Target heap size of next gc cycle: ", m.NextGC)
33+
//log.Println("Stop The world pauses ", m.PauseTotalNs)
34+
//log.Println("GcSys ", m.GCSys)
35+
//log.Println("GCCPUFraction ", m.GCCPUFraction)
36+
//log.Println("NumGC ", m.NumGC)
37+
//log.Println("NumForcedGC ", m.NumForcedGC)
3838

3939
return mem
4040
}

0 commit comments

Comments
 (0)