[sheepdog] [PATCH v6 2/5] logger: expand MAX_MSG_SIZE

Hitoshi Mitake mitake.hitoshi at lab.ntt.co.jp
Thu Feb 21 09:36:21 CET 2013


JSON formatter produces long line in logs, so 256 is not enough for
MAX_MSG_SIZE.

Signed-off-by: Hitoshi Mitake <mitake.hitoshi at lab.ntt.co.jp>
---
 include/logger.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/include/logger.h b/include/logger.h
index 0ed457d..2e10f6a 100644
--- a/include/logger.h
+++ b/include/logger.h
@@ -18,7 +18,7 @@
 #include <sys/syslog.h>
 
 #define LOG_SPACE_SIZE (32 * 1024 * 1024)
-#define MAX_MSG_SIZE 256
+#define MAX_MSG_SIZE 1024
 #define MAX_THREAD_NAME_LEN	20
 
 struct logger_user_info {
-- 
1.7.2.5




More information about the sheepdog mailing list