From 3236ffdebccd661629ebbb3176519ee9a07cc0aa Mon Sep 17 00:00:00 2001 From: LittleSheep Date: Sun, 17 Nov 2024 21:10:19 +0800 Subject: [PATCH] :mute: Remove duplicate ws related logs --- pkg/internal/http/ws/ws.go | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pkg/internal/http/ws/ws.go b/pkg/internal/http/ws/ws.go index 828af9a..a11dab3 100644 --- a/pkg/internal/http/ws/ws.go +++ b/pkg/internal/http/ws/ws.go @@ -9,7 +9,6 @@ import ( "git.solsynth.dev/hypernet/nexus/pkg/proto" "github.com/gofiber/contrib/websocket" jsoniter "github.com/json-iterator/go" - "github.com/rs/zerolog/log" "github.com/samber/lo" "github.com/spf13/viper" ) @@ -19,10 +18,6 @@ func Listen(c *websocket.Conn) { // Push connection clientId := ClientRegister(user, c) - log.Debug(). - Uint("user", user.ID). - Uint64("clientId", clientId). - Msg("New websocket connection established...") // Event loop var mt int @@ -81,8 +76,4 @@ func Listen(c *websocket.Conn) { // Pop connection ClientUnregister(user, clientId) - log.Debug(). - Uint("user", user.ID). - Uint64("clientId", clientId). - Msg("A websocket connection disconnected...") }