소스 검색

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 년 전
부모
커밋
a42eda8c96
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -2
      src/lager_app.erl

+ 1
- 2
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;

불러오는 중...
취소
저장