From a296116cb5e2dcbaf46d1dfbd59392ed952fe681 Mon Sep 17 00:00:00 2001
From: Guo Wenxue <guowenxue@gmail.com>
Date: Fri, 15 May 2026 22:15:00 +0800
Subject: [PATCH] update socket_client print information

---
 project/2.socketd/socket_client.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/project/2.socketd/socket_client.c b/project/2.socketd/socket_client.c
index 49ebe78..c60fc08 100644
--- a/project/2.socketd/socket_client.c
+++ b/project/2.socketd/socket_client.c
@@ -217,7 +217,7 @@
         /*  socket send sample packet */
         if( sample_flag )
         {
-            log_debug("socket send sample packet bytes[%d]: %s\n", pack_bytes, pack_buf);
+            log_debug("socket send current sample data.\n");
             if( socket_send(&sock, pack_buf, pack_bytes) < 0 )
             {
                 log_warn("socket send sample packet failure, save it in database now.\n");
@@ -229,7 +229,7 @@
         /*  socket send cache packet */
         if( !db_read(pack_buf, sizeof(pack_buf), &pack_bytes, &rowid) )
         {
-            log_debug("socket send database packet bytes[%d]: %s\n", pack_bytes, pack_buf);
+            log_debug("socket send database cache data.\n");
             if( socket_send(&sock, pack_buf, pack_bytes) < 0 )
             {
                 log_error("socket send database packet failure");

--
Gitblit v1.9.1