Skip to content

Commit

Permalink
Silence node logs
Browse files Browse the repository at this point in the history
  • Loading branch information
danschultzer committed Feb 7, 2024
1 parent c0c768d commit 39b3ec8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/pow/store/backend/mnesia_cache_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -560,8 +560,9 @@ defmodule Pow.Store.Backend.MnesiaCacheTest do
rpc(node, Application, :ensure_all_started, [app_name])
end

# Remove logger to prevent logs
rpc(node, Logger, :remove_backend, [:console])
# Silence console logging on node
rpc(node, :logger, :remove_handler, [:default])
rpc(node, Logger, :remove_backend, [:console]) # TODO: Remove when Elixir 1.15 is required

add_listener_module(node)

Expand Down

0 comments on commit 39b3ec8

Please sign in to comment.