Module: kamailio
Branch: 5.8
Commit: f499cb1fffb0ec8ef7b659ecde90de303fde0553
URL: 
https://github.com/kamailio/kamailio/commit/f499cb1fffb0ec8ef7b659ecde90de303fde0553

Author: Daniel-Constantin Mierla <mico...@gmail.com>
Committer: Daniel-Constantin Mierla <mico...@gmail.com>
Date: 2025-01-22T10:47:54+01:00

core: tcp - remove level and function name from log message

(cherry picked from commit 5fe61ec6dbcd9d2dde3f2bd978dad5130ac5bff9)

---

Modified: src/core/tcp_read.c

---

Diff:  
https://github.com/kamailio/kamailio/commit/f499cb1fffb0ec8ef7b659ecde90de303fde0553.diff
Patch: 
https://github.com/kamailio/kamailio/commit/f499cb1fffb0ec8ef7b659ecde90de303fde0553.patch

---

diff --git a/src/core/tcp_read.c b/src/core/tcp_read.c
index cd7790eb958..77ba6e97cfa 100644
--- a/src/core/tcp_read.c
+++ b/src/core/tcp_read.c
@@ -1522,8 +1522,7 @@ int tcp_read_req(struct tcp_connection *con, int 
*bytes_read,
 
                if(unlikely(bytes < 0)) {
                        LOG(cfg_get(core, core_cfg, corelog),
-                                       "ERROR: tcp_read_req: error reading - 
c: %p r: %p (%d)\n",
-                                       con, req, bytes);
+                                       "error reading - c: %p r: %p (%d)\n", 
con, req, bytes);
                        resp = CONN_ERROR;
                        goto end_req;
                }

_______________________________________________
Kamailio - Development Mailing List -- sr-dev@lists.kamailio.org
To unsubscribe send an email to sr-dev-le...@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the 
sender!

Reply via email to