I have an umbrella project which is using Elixir v1.5.
I added
{:logger_logstash_backend, "~> 3.0.0"} to deps and
:logger, :timex to extra_applications
for each of the applications in the umbrella.
I also updated the config file with the changes suggested in README file.
When I run the umbrella application, this error occurs:
[error] GenEvent handler {LoggerLogstashBackend, :project_log} installed in Logger terminating
** (FunctionClauseError) no function clause matching in :inet_udp.getserv/1
(kernel) inet_udp.erl:38: :inet_udp.getserv("10514")
(kernel) gen_udp.erl:127: :gen_udp.send/4
(logger_logstash_backend) lib/logger_logstash_backend.ex:36: LoggerLogstashBackend.handle_event/2
(stdlib) gen_event.erl:573: :gen_event.server_update/4
(stdlib) gen_event.erl:555: :gen_event.server_notify/4
(stdlib) gen_event.erl:296: :gen_event.handle_msg/6
(stdlib) proc_lib.erl:247: :proc_lib.init_p_do_apply/3
Can you please confirm if logger_logstash_backend works with Elixir v1.5 or not? That'll guide me where I should dig into to get it working.
I have an umbrella project which is using Elixir v1.5.
I added
{:logger_logstash_backend, "~> 3.0.0"}
todeps
and:logger, :timex
toextra_applications
for each of the applications in the umbrella. I also updated the config file with the changes suggested in README file.When I run the umbrella application, this error occurs:
Can you please confirm if logger_logstash_backend works with Elixir v1.5 or not? That'll guide me where I should dig into to get it working.