Explorar el Código

Load default_tracer before backends

pull/160/head
Paul Khusainov hace 11 años
padre
commit
12433c0dec
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/lager_app.erl

+ 2
- 2
src/lager_app.erl Ver fichero

@ -62,6 +62,8 @@ start(_StartType, _StartArgs) ->
throw({error, bad_config})
end,
lager_util:trace_filter(none),
Handlers = case application:get_env(lager, handlers) of
undefined ->
[{lager_console_backend, info},
@ -113,8 +115,6 @@ start(_StartType, _StartArgs) ->
end
end,
lager_util:trace_filter(none),
{ok, Pid, SavedHandlers}.

Cargando…
Cancelar
Guardar