Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Max log message length set to 4k to avoid truncated INFO output in lo…

…gs on Redis crash. This is just a workaround and it is handled better in the unstable branch.
  • Loading branch information...
commit b1b98c64cc726de7faa4985c6798886c57ef1037 1 parent cec6b04
@antirez authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/redis.h
View
2  src/redis.h
@@ -48,7 +48,7 @@
#define REDIS_REQUEST_MAX_SIZE (1024*1024*256) /* max bytes in inline command */
#define REDIS_SHARED_INTEGERS 10000
#define REDIS_REPLY_CHUNK_BYTES (5*1500) /* 5 TCP packets with default MTU */
-#define REDIS_MAX_LOGMSG_LEN 1024 /* Default maximum length of syslog messages */
+#define REDIS_MAX_LOGMSG_LEN 4096 /* Default maximum length of syslog messages */
#define REDIS_AUTO_AOFREWRITE_PERC 100
#define REDIS_AUTO_AOFREWRITE_MIN_SIZE (1024*1024)
#define REDIS_SLOWLOG_LOG_SLOWER_THAN 10000
Please sign in to comment.
Something went wrong with that request. Please try again.