summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index 078f1c6e08..8d69b8b299 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -119,4 +119,8 @@
%% wrapping the message body).
-define(MAX_MSG_SIZE, 2147383648).
+%% Maximum size of any individual bit of a term to be logged. Feeds
+%% into truncate:log_event/2.
+-define(LOG_TRUNCATE_SIZE, 100).
+
-define(store_proc_name(N), rabbit_misc:store_proc_name(?MODULE, N)).