summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGary Lockyer <gary@catalyst.net.nz>2019-04-18 10:23:22 +1200
committerKarolin Seeger <kseeger@samba.org>2019-05-17 07:18:27 +0000
commitd4d41f0d20d4a0a44b86b339c3e9def9b6050ca3 (patch)
tree0e9f5ffe0b37f1a617927924e35e34c6701db64e /lib
parentbba9f065003b0688836688a5a40dfc587c6f72fc (diff)
downloadsamba-d4d41f0d20d4a0a44b86b339c3e9def9b6050ca3.tar.gz
lib util debug: Increase format buffer to 4KiB
Increase the debug line buffer to 4KiB, the existing size of 1KiB is too small for dsdbChange JSON audit messages. These messages were then split across multipe lines causing issues in log ingestion tools expecting single line messages. Bug: https://bugzilla.samba.org/show_bug.cgi?id=13902 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Autobuild-User(master): Gary Lockyer <gary@samba.org> Autobuild-Date(master): Mon May 6 01:18:22 UTC 2019 on sn-devel-184 (cherry picked from commit ad3af7cdffb98b7998857db609548fc96f60c669)
Diffstat (limited to 'lib')
-rw-r--r--lib/util/debug.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index 847ec1f0a0c..d1df86accee 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -44,7 +44,7 @@
* format_bufr[FORMAT_BUFR_SIZE - 1] should always be reserved
* for a terminating null byte.
*/
-#define FORMAT_BUFR_SIZE 1024
+#define FORMAT_BUFR_SIZE 4096
/* -------------------------------------------------------------------------- **
* This module implements Samba's debugging utility.