diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rabbit.hrl | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl index 3d2301efa8..8f836a0e5c 100644 --- a/include/rabbit.hrl +++ b/include/rabbit.hrl @@ -119,11 +119,12 @@ %% 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_TRUNC_SIZE, 100). - -%% Amount to decrease size every time we descend while truncating --define(LOG_TRUNC_DECR, 5). +%% 1) Maximum size of printable lists and binaries. +%% 2) Maximum size of any structural term. +%% 3) Amount to decrease 1) every time we descend while truncating. +%% 4) Amount to decrease 2) every time we descend while truncating. +%% +%% Whole thing feeds into truncate:log_event/2. +-define(LOG_TRUNC, {1000, 100, 50, 5}). -define(store_proc_name(N), rabbit_misc:store_proc_name(?MODULE, N)). |
