From 6258b91b895a8f33efba625c683d6584077b7515 Mon Sep 17 00:00:00 2001 From: Howard Beard-Marlowe Date: Fri, 30 Sep 2016 10:29:48 +0200 Subject: [PATCH] ex_syslogger should not start syslog automatically, :syslog.start exists in the logger backend, this way we only start syslog if we have a configured backend and it prevents it from being started twice which crashes applications --- mix.exs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mix.exs b/mix.exs index 01554c4..a8aa3f9 100644 --- a/mix.exs +++ b/mix.exs @@ -20,7 +20,8 @@ defmodule ExSyslogger.Mixfile do # # Type `mix help compile.app` for more information def application do - [applications: [:syslog, :logger, :poison]] + [applications: [:logger, :poison], + included_applications: [:syslog]] end defp description do