@sorentwo I’m running into an issue where I start an iex session (iex -S mix
) and then my terminal keeps showing log messages from Oban:
iex(9)> [info] {"event":"notifier:switch","message":"notifier can't receive messages from any nodes, functionality degraded","source":"oban","status":"isolated"}
[info] {"event":"notifier:switch","message":"notifier only receiving messages from its own node, functionality may be degraded","source":"oban","status":"solitary"}
[info] {"event":"notifier:switch","message":"notifier can't receive messages from any nodes, functionality degraded","source":"oban","status":"isolated"}
[info] {"event":"notifier:switch","message":"notifier only receiving messages from its own node, functionality may be degraded","source":"oban","status":"solitary"}
[info] {"event":"notifier:switch","message":"notifier can't receive messages from any nodes, functionality degraded","source":"oban","status":"isolated"}
[info] {"event":"notifier:switch","message":"notifier only receiving messages from its own node, functionality may be degraded","source":"oban","status":"solitary"}
When I run Application.get_env(:app, Oban)
, I get:
[
repo: App.PostgresRepo,
engine: Oban.Engines.Basic,
queues: [],
plugins: [],
log: false
]
(I use the Pro Engine but opted for Basic as it seemed like these messages might be related).
Any idea how to quiet the logs so I can use iex without being constantly interrupted by Oban?
Scott