diff --git a/README.md b/README.md index b614309..38d31c3 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ ```elixir def deps do - [{:subscribex, "~> 0.8"}] + [{:subscribex, "~> 0.9.1"}] end ``` diff --git a/lib/subscribex/broker.ex b/lib/subscribex/broker.ex index 8c6ba5f..7d7eb3d 100644 --- a/lib/subscribex/broker.ex +++ b/lib/subscribex/broker.ex @@ -205,7 +205,7 @@ defmodule Subscribex.Broker do def do_channel(nil, link, module) do Logger.warn("Subscriber application not started, trying reconnect...") - IO.inspect(module, label: "doing channel for module") + Logger.debug("doing channel for module #{inspect(module)}") interval = apply(module, :config, [:reconnect_interval, :timer.seconds(30)]) :timer.sleep(interval) @@ -214,7 +214,7 @@ defmodule Subscribex.Broker do end def do_channel(connection_pid, link, module) when is_pid(connection_pid) do - IO.inspect(module, label: "doing channel for module") + Logger.debug("doing channel for module #{inspect(module)}") connection = %AMQP.Connection{pid: connection_pid} Logger.debug("Attempting to create channel") diff --git a/mix.exs b/mix.exs index a78d2c3..62ef4b9 100644 --- a/mix.exs +++ b/mix.exs @@ -3,7 +3,7 @@ defmodule Subscribex.Mixfile do def project do [app: :subscribex, - version: "0.9.0", + version: "0.9.1", elixir: "~> 1.3", build_embedded: Mix.env == :prod, start_permanent: Mix.env == :prod,