diff options
| author | Simon MacMullen <simon@rabbitmq.com> | 2014-03-24 12:24:49 +0000 |
|---|---|---|
| committer | Simon MacMullen <simon@rabbitmq.com> | 2014-03-24 12:24:49 +0000 |
| commit | 52bd01074df2f0cda87a171229b617901e2f9117 (patch) | |
| tree | 5484f1aff560316abfb888f64bc2d9a0c9497a79 /include/rabbit.hrl | |
| parent | 9a28e7a4daab049a9d360b91c74006b948d60111 (diff) | |
| download | rabbitmq-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.hrl | 4 |
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)). |
