diff options
Diffstat (limited to 'src/rabbit_error_logger.erl')
-rw-r--r-- | src/rabbit_error_logger.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_error_logger.erl b/src/rabbit_error_logger.erl index e921925e08..53c0e608d1 100644 --- a/src/rabbit_error_logger.erl +++ b/src/rabbit_error_logger.erl @@ -89,7 +89,7 @@ publish1(RoutingKey, Format, Data, LogExch) -> Timestamp = rabbit_misc:now_ms() div 1000, %% TODO: is 'Data' ever in crash report format? I think not, but check... - Args = [rabbit_trunc_term:truncate_log_event(A) || A <- Data], + Args = [truncate:log_event(A) || A <- Data], {ok, _DeliveredQPids} = rabbit_basic:publish(LogExch, RoutingKey, #'P_basic'{content_type = <<"text/plain">>, |