Skip to content

Commit 35e10cf

Browse files
Brian L. TroutwineMark Allen
authored andcommitted
Correct removal of reinstall_handler.
Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
1 parent 2d42e95 commit 35e10cf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/lager_handler_watcher.erl‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,9 @@ handle_info({gen_event_EXIT, Module, Reason}, #state{module=Module,
8080
ok
8181
end,
8282
{noreply, State};
83+
handle_info(reinstall_handler, #state{module=Module, config=Config, sink=Sink} = State) ->
84+
install_handler(Sink, Module, Config),
85+
{noreply, State};
8386
handle_info(reboot, State) ->
8487
lager_app:boot(),
8588
{noreply, State};

0 commit comments

Comments
 (0)