start with :lager instead of :logger
linearregression opened this issue · comments
When application is started, it error on :logger. exometer and other dependency projects uses :lager. Application starts with the built in logger instead.
Supervisor: {local,'Elixir.Logger.Supervisor'}
Context: child_terminated
Reason: normal
Offender: [{pid,<0.183.0>},{id,'Elixir.Logger.ErrorHandler'},{mfargs,{'Elixir.Logger.Watcher',watcher,[error_logger,'Elixir.Logger.ErrorHandler',{true,false,500},link]}},{restart_type,permanent},{shutdown,5000},{child_type,worker}]
ping
pang?
Sorry, I was out on vacation for a week.
I am still experiencing this issue. Workaround (per discussion in the comments here: https://alexgaribay.com/2016/02/27/using-elixometer-with-phoenix/) is to move elixometer before phoenix in the applications block in mix.exs.
...
applications: [:elixometer, :phoenix, ...