[sr-dev] git:master:a66e220c: Merge pull request #389 from gled-rs/feature/bigger_log_prefix_buffer_size

Daniel-Constantin Mierla miconda at gmail.com
Thu Nov 5 10:31:30 CET 2015


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

Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2015-11-05T10:31:22+01:00

Merge pull request #389 from gled-rs/feature/bigger_log_prefix_buffer_size

set the log_prefix buffer size to 1024b

---

Modified: dprint.c

---

Diff:  https://github.com/kamailio/kamailio/commit/a66e220cb25afceb8a74b62a04f11070b22a91af.diff
Patch: https://github.com/kamailio/kamailio/commit/a66e220cb25afceb8a74b62a04f11070b22a91af.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