summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2013-02-27 14:25:12 +0000
committerSimon MacMullen <simon@rabbitmq.com>2013-02-27 14:25:12 +0000
commitfad1b961ea4d53670381caa4b701add21ee406b4 (patch)
tree7c715d12110191244335a69f51135798bb452a32
parent2e9879c6cde8d540cd8cd3e56223f0a3bbe22556 (diff)
downloadrabbitmq-server-fad1b961ea4d53670381caa4b701add21ee406b4.tar.gz
Filter out all those events that look like:
=INFO REPORT==== 27-Feb-2013::14:17:46 === application: mnesia exited: stopped type: temporary since they are not very interesting and this bug makes them appear to a highly verbose extent.
-rw-r--r--src/rabbit_error_logger_file_h.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rabbit_error_logger_file_h.erl b/src/rabbit_error_logger_file_h.erl
index 3efc9c0c..c00c1df9 100644
--- a/src/rabbit_error_logger_file_h.erl
+++ b/src/rabbit_error_logger_file_h.erl
@@ -76,6 +76,8 @@ init_file(File, PrevHandler) ->
Error -> Error
end.
+handle_event({info_report, _, {_, std_info, _}}, State) ->
+ ok; %% filter out "application: foo; exited: stopped; type: temporary"
handle_event(Event, State) ->
error_logger_file_h:handle_event(Event, State).