Bläddra i källkod

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"}

pull/264/head
John R. Daily 10 år sedan
förälder
incheckning
a42eda8c96
1 ändrade filer med 1 tillägg och 2 borttagningar
  1. +1
    -2
      src/lager_app.erl

+ 1
- 2
src/lager_app.erl Visa fil

@ -87,8 +87,7 @@ start_handlers(Sink, {ok, Handlers}) ->
start_handler(Sink, Module, Config) -> start_handler(Sink, Module, Config) ->
{ok, Watcher} = supervisor:start_child(lager_handler_watcher_sup, {ok, Watcher} = supervisor:start_child(lager_handler_watcher_sup,
[Sink, Module, Config]), [Sink, Module, Config]),
{BackendId, _Config} = maybe_make_handler_id(Module, Config),
{BackendId, Watcher, Sink}.
{Module, Watcher, Sink}.
interpret_hwm(undefined) -> interpret_hwm(undefined) ->
undefined; undefined;

Laddar…
Avbryt
Spara