diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-03-24 12:16:37 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-03-24 12:16:37 +0000 |
commit | daf0162802ce27959dbbc0554af34da34173de54 (patch) | |
tree | c813c2ef895e79b7671da63e78432ae8fb02eb80 /src/rabbit_sasl_report_file_h.erl | |
parent | f7412dae13e80064a62dfa919f8bd592b1fb136c (diff) | |
download | rabbitmq-server-daf0162802ce27959dbbc0554af34da34173de54.tar.gz |
Rename module and functions to be shorter and more generic. Remove quickcheck tests. Wire into the non-sasl error_handler, but don't wire into handle_info and handle_call functions since those should not be logs.
Diffstat (limited to 'src/rabbit_sasl_report_file_h.erl')
-rw-r--r-- | src/rabbit_sasl_report_file_h.erl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/rabbit_sasl_report_file_h.erl b/src/rabbit_sasl_report_file_h.erl index 1b950c23..efdef3f6 100644 --- a/src/rabbit_sasl_report_file_h.erl +++ b/src/rabbit_sasl_report_file_h.erl @@ -66,16 +66,13 @@ init_file({File, Type}) -> end. handle_event(Event, State) -> - Event2 = rabbit_trunc_term:truncate_log_event(Event), - sasl_report_file_h:handle_event(Event2, State). + sasl_report_file_h:handle_event(truncate:log_event(Event), State). -handle_info(Event, State) -> - Event2 = rabbit_trunc_term:truncate_log_event(Event), - sasl_report_file_h:handle_info(Event2, State). +handle_info(Info, State) -> + sasl_report_file_h:handle_info(Info, State). -handle_call(Event, State) -> - Event2 = rabbit_trunc_term:truncate_log_event(Event), - sasl_report_file_h:handle_call(Event2, State). +handle_call(Call, State) -> + sasl_report_file_h:handle_call(Call, State). terminate(Reason, State) -> sasl_report_file_h:terminate(Reason, State). |