From 737113ca1f4bc8ca30b61d9f7ab674e814375c35 Mon Sep 17 00:00:00 2001 From: "Gabriel A. Giovanini" Date: Sat, 20 Apr 2024 16:13:31 +0200 Subject: ref: Remove debugging logs --- cmd/server/server.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'cmd/server/server.go') diff --git a/cmd/server/server.go b/cmd/server/server.go index a0de547..76fc1e5 100644 --- a/cmd/server/server.go +++ b/cmd/server/server.go @@ -82,14 +82,12 @@ func handleConnection(conn net.Conn, db *db.DB) { q := strings.ReplaceAll(string(buf), "\n", "") - slog.Info("Query", "query", q) ws, err := db.SelectDict(context.Background(), q, 10) if err != nil { slog.Error("Error selecting", "error", err) return } - slog.Info("Count", "q", len(ws)) for _, w := range ws { fmt.Fprintf(conn, "%s\n%s\n\n", w.Word, w.Line) } -- cgit v1.2.3