소스 검색

Do not lose existing handlers

pull/264/head
John R. Daily 10 년 전
부모
커밋
564bf98248
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. +1
    -0
      src/lager_app.erl

+ 1
- 0
src/lager_app.erl 파일 보기

@ -77,6 +77,7 @@ start_handlers(_Sink, {ok, Handlers}) when not is_list(Handlers) ->
start_handlers(Sink, {ok, Handlers}) ->
%% handlers failing to start are handled in the handler_watcher
lager_config:global_set(handlers,
lager_config:global_get(handlers, []) ++
lists:map(fun({Module, Config}) ->
start_handler(Sink, Module, Config)
end,

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