diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-09-08 10:25:31 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-09-08 10:25:31 +0100 |
commit | 83c1990bb3640b81fd84b727e92d87d6c90c5f8e (patch) | |
tree | 795d0eef11b0f647e84e5f60797f88d1ef8f12d0 | |
parent | f62bd1b57dd2b4ebdbab646dae6db7380a8c2d5d (diff) | |
parent | fecfc15ca265ad8f51c2c41160295dabeb182c5a (diff) | |
download | rabbitmq-server-83c1990bb3640b81fd84b727e92d87d6c90c5f8e.tar.gz |
stable to default
-rw-r--r-- | src/rabbit_error_logger_file_h.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_error_logger_file_h.erl b/src/rabbit_error_logger_file_h.erl index be842739..5f9a21e9 100644 --- a/src/rabbit_error_logger_file_h.erl +++ b/src/rabbit_error_logger_file_h.erl @@ -87,8 +87,10 @@ safe_handle_event(HandleEvent, Event, State) -> HandleEvent(Event, State) catch _:Error -> - io:format("Event crashed log handler:~n~P~n~P~n", - [Event, 30, Error, 30]), + io:format( + "Error in log handler~n====================~n" + "Event: ~P~nError: ~P~nStack trace: ~p~n~n", + [Event, 30, Error, 30, erlang:get_stacktrace()]), {ok, State} end. |