summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-09-08 10:25:31 +0100
committerSimon MacMullen <simon@rabbitmq.com>2014-09-08 10:25:31 +0100
commit83c1990bb3640b81fd84b727e92d87d6c90c5f8e (patch)
tree795d0eef11b0f647e84e5f60797f88d1ef8f12d0
parentf62bd1b57dd2b4ebdbab646dae6db7380a8c2d5d (diff)
parentfecfc15ca265ad8f51c2c41160295dabeb182c5a (diff)
downloadrabbitmq-server-83c1990bb3640b81fd84b727e92d87d6c90c5f8e.tar.gz
stable to default
-rw-r--r--src/rabbit_error_logger_file_h.erl6
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.