From a42eda8c966f6721cf644fb841aea9996272093c Mon Sep 17 00:00:00 2001 From: "John R. Daily" Date: Tue, 24 Mar 2015 17:38:08 -0400 Subject: [PATCH] Misunderstood the inbound Module term. Should probably have specs and/or a different name. Actually represents the unique ID we want, e.g. {lager_file_handler, "foo.log"} --- src/lager_app.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/lager_app.erl b/src/lager_app.erl index c7bb8fa..4fc4d26 100644 --- a/src/lager_app.erl +++ b/src/lager_app.erl @@ -87,8 +87,7 @@ start_handlers(Sink, {ok, Handlers}) -> start_handler(Sink, Module, Config) -> {ok, Watcher} = supervisor:start_child(lager_handler_watcher_sup, [Sink, Module, Config]), - {BackendId, _Config} = maybe_make_handler_id(Module, Config), - {BackendId, Watcher, Sink}. + {Module, Watcher, Sink}. interpret_hwm(undefined) -> undefined;