diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2014-09-08 10:25:19 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2014-09-08 10:25:19 +0100 |
commit | fecfc15ca265ad8f51c2c41160295dabeb182c5a (patch) | |
tree | 1ca76f1a794bc4a5221b7b9c28eca4d6b4fb9aa5 | |
parent | ac193e253ad515f232e96515725ded707fbda400 (diff) | |
parent | 47df39368dd2216c0779f154505c0cfa2d07c447 (diff) | |
download | rabbitmq-server-fecfc15ca265ad8f51c2c41160295dabeb182c5a.tar.gz |
Merge bug26362
-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. |