Browse Source

Log unexpected error_logger messages to lager

pull/4/head
Andrew Thompson 14 years ago
parent
commit
af2f2200f8
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/error_logger_lager_h.erl

+ 1
- 1
src/error_logger_lager_h.erl View File

@ -108,7 +108,7 @@ handle_event(Event, State) ->
?LOG(info, P, ["PROGRESS REPORT ", print_silly_list(D)])
end;
_ ->
io:format("Event ~w~n", [Event])
?LOG(warning, self(), "Unexpected error_logger event ~w", [Event])
end,
{ok, State}.

Loading…
Cancel
Save