Merge branch 's3' into api_testing

pull/1598/head
Daniel Van Der Maden 5 years ago
commit 9137c3be5f
  1. 3
      internal/profiler/profiler.go

@ -3,6 +3,7 @@ package profiler
import ( import (
"bytes" "bytes"
"encoding/json" "encoding/json"
"fmt"
"net/http" "net/http"
"os" "os"
"sync" "sync"
@ -48,7 +49,7 @@ func (profiler *Profiler) LogMemory() {
memMap, _ := profiler.proc.MemoryMaps(false) memMap, _ := profiler.proc.MemoryMaps(false)
loggedMemMap := "" loggedMemMap := ""
for _, mems := range *memMap { for _, mems := range *memMap {
loggedMemMap += mems.String() + "; " loggedMemMap = fmt.Sprintf("%v; %v", loggedMemMap, mems)
} }
utils.Logger().Info(). utils.Logger().Info().
Str("info", info.String()). Str("info", info.String()).

Loading…
Cancel
Save