Skip to content

Commit

Permalink
Don't log INFO messages on successful monitored process exists
Browse files Browse the repository at this point in the history
This somewhat reduces the amount of logging this plugin does.
Starting with 3.7.0 some of this should be logged at debug level
(or even a separate sink?)
  • Loading branch information
michaelklishin committed Oct 5, 2017
1 parent c46ced9 commit 97f2f49
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rabbit_email_handler.erl
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,9 @@ handle_info({'EXIT', SenderPid, _Reason}, #state{sender_pid=SenderPid} = State)
% sender failed, we terminate as well
{stop, normal, State};

handle_info({'EXIT', _, normal}, State) ->
{noreply, State};

handle_info(Info, State) ->
rabbit_log:info("~w~n", [Info]),
{noreply, State}.
Expand Down

0 comments on commit 97f2f49

Please sign in to comment.