소스 검색

update_loglevel_config now takes a sink argument

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

+ 1
- 1
src/lager_handler_watcher.erl 파일 보기

@ -92,7 +92,7 @@ install_handler(Sink, Module, Config) ->
case gen_event:add_sup_handler(Sink, Module, Config) of
ok ->
?INT_LOG(debug, "Lager installed handler ~p into ~p", [Module, Sink]),
lager:update_loglevel_config(),
lager:update_loglevel_config(Sink),
ok;
{error, {fatal, Reason}} ->
?INT_LOG(error, "Lager fatally failed to install handler ~p into"

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