From ba5548e057ad93ca96033fc698cf95d9d6eab69a Mon Sep 17 00:00:00 2001 From: "John R. Daily" Date: Mon, 23 Mar 2015 14:01:08 -0400 Subject: [PATCH] update_loglevel_config now takes a sink argument --- src/lager_handler_watcher.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lager_handler_watcher.erl b/src/lager_handler_watcher.erl index af0844d..73722ac 100644 --- a/src/lager_handler_watcher.erl +++ b/src/lager_handler_watcher.erl @@ -92,7 +92,7 @@ install_handler(Sink, Module, Config) -> case gen_event:add_sup_handler(Sink, Module, Config) of ok -> ?INT_LOG(debug, "Lager installed handler ~p into ~p", [Module, Sink]), - lager:update_loglevel_config(), + lager:update_loglevel_config(Sink), ok; {error, {fatal, Reason}} -> ?INT_LOG(error, "Lager fatally failed to install handler ~p into"