From e8457ca035d57b34d848e935913b38a24ec97052 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maximilian=20Pa=C3=9F?= <22845248+mpass99@users.noreply.github.com> Date: Wed, 31 Aug 2022 08:52:06 +0200 Subject: [PATCH] Remove monitoring debug statement. --- pkg/storage/storage.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/pkg/storage/storage.go b/pkg/storage/storage.go index 0721bd4..b0c0c5b 100644 --- a/pkg/storage/storage.go +++ b/pkg/storage/storage.go @@ -4,14 +4,11 @@ import ( "context" influxdb2 "github.com/influxdata/influxdb-client-go/v2" "github.com/influxdata/influxdb-client-go/v2/api/write" - "github.com/openHPI/poseidon/pkg/logging" "github.com/openHPI/poseidon/pkg/monitoring" "sync" "time" ) -var log = logging.GetLogger("storage") - // Storage is an interface for storing objects. type Storage[T any] interface { // List returns all objects from the storage. @@ -157,7 +154,6 @@ func (s *localStorage[T]) Length() uint { func (s *localStorage[T]) unsafeLength() uint { length := len(s.objects) - log.WithField("length_int", length).WithField("length_uint", uint(length)).Debug("Storage info") return uint(length) }