[sheepdog] [PATCH v5 2/5] logger: expand MAX_MSG_SIZE
Hitoshi Mitake
mitake.hitoshi at lab.ntt.co.jp
Tue Feb 5 10:46:47 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 70f0b55..657b715 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