Browse Source

Correct removal of reinstall_handler.

Signed-off-by: Brian L. Troutwine <brian.troutwine@adroll.com>
pull/346/head
Brian L. Troutwine 9 years ago
committed by Mark Allen
parent
commit
35e10cfc4e
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/lager_handler_watcher.erl

+ 3
- 0
src/lager_handler_watcher.erl View File

@ -80,6 +80,9 @@ handle_info({gen_event_EXIT, Module, Reason}, #state{module=Module,
ok
end,
{noreply, State};
handle_info(reinstall_handler, #state{module=Module, config=Config, sink=Sink} = State) ->
install_handler(Sink, Module, Config),
{noreply, State};
handle_info(reboot, State) ->
lager_app:boot(),
{noreply, State};

Loading…
Cancel
Save