[sr-dev] git:master:43962366: set the log_prefix buffer size to 1024b

Tristan Mahé gled at remote-shell.net
Thu Nov 5 10:31:29 CET 2015


Module: kamailio
Branch: master
Commit: 439623667d6ea5cf9dec30033df94965213e8494
URL: https://github.com/kamailio/kamailio/commit/439623667d6ea5cf9dec30033df94965213e8494

Author: Tristan Mahé <gled at remote-shell.net>
Committer: Tristan Mahé <gled at remote-shell.net>
Date: 2015-11-04T10:33:03-08:00

set the log_prefix buffer size to 1024b

---

Modified: dprint.c

---

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

---

diff --git a/dprint.c b/dprint.c
index a2a2961..0a5c0c3 100644
--- a/dprint.c
+++ b/dprint.c
@@ -420,7 +420,7 @@ void dprint_color_update(int level, char f, char b)
 str *log_prefix_val = NULL;
 static pv_elem_t *log_prefix_pvs = NULL;
 
-#define LOG_PREFIX_SIZE	128
+#define LOG_PREFIX_SIZE	1024
 static char log_prefix_buf[LOG_PREFIX_SIZE];
 static str log_prefix_str;
 




More information about the sr-dev mailing list