summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-03-24 12:24:49 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-03-24 12:24:49 +0000
commit52bd01074df2f0cda87a171229b617901e2f9117 (patch)
tree5484f1aff560316abfb888f64bc2d9a0c9497a79 /include/rabbit.hrl
parent9a28e7a4daab049a9d360b91c74006b948d60111 (diff)
downloadrabbitmq-server-git-52bd01074df2f0cda87a171229b617901e2f9117.tar.gz
Don't let the truncate module have any opinion on how much to truncate.
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)).