Parcourir la source

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 il y a 10 ans
Parent
révision
a42eda8c96
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. +1
    -2
      src/lager_app.erl

+ 1
- 2
src/lager_app.erl Voir le fichier

@ -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;

Chargement…
Annuler
Enregistrer