Module: kamailio
Branch: master
Commit: 5fe61ec6dbcd9d2dde3f2bd978dad5130ac5bff9
URL: 
https://github.com/kamailio/kamailio/commit/5fe61ec6dbcd9d2dde3f2bd978dad5130ac5bff9

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

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

---

Modified: src/core/tcp_read.c

---

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

---

diff --git a/src/core/tcp_read.c b/src/core/tcp_read.c
index ae75027083b..2cf24246be7 100644
--- a/src/core/tcp_read.c
+++ b/src/core/tcp_read.c
@@ -1528,8 +1528,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