Skip to content

Commit

Permalink
misc
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Aug 25, 2024
1 parent f85ff30 commit f67b4b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 0 additions & 5 deletions flavours/classic/config/dev.exs
Original file line number Diff line number Diff line change
Expand Up @@ -153,11 +153,6 @@ config :logger, :console,
# Do not include metadata or timestamps
format: "[$level] $message\n"

if System.get_env("DISABLE_LOG") == "yes" do
# to suppress non-captured logs in tests (eg. in setup_all)
config :logger, backends: []
end

config :phoenix, :stacktrace_depth, 60

config :phoenix, :plug_init_mode, :runtime
Expand Down
5 changes: 5 additions & 0 deletions flavours/classic/config/runtime.exs
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,11 @@ config :bonfire,
phx_server = System.get_env("PHX_SERVER")
use_cowboy? = System.get_env("PLUG_SERVER") != "bandit"

if System.get_env("DISABLE_LOG") == "yes" do
# to suppress non-captured logs in tests (eg. in setup_all)
config :logger, backends: []
end

config :bonfire, Bonfire.Web.Endpoint,
server:
phx_server not in no? and
Expand Down
1 change: 1 addition & 0 deletions mix.lock
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,7 @@
"pane": {:hex, :pane, "0.4.1", "ca4275b5799066d52c857e7b0deb2feaba409d607419fe54cde056329d247a89", [:mix], [], "hexpm", "27a292ca86f52d4777422930c17fd4a12eaa930d86a6193665c452f94a04ff8a"},
"paper_trail": {:git, "https://github.com/bonfire-networks/paper_trail", "dd0d28b6346c6d8be5819c57cb6cb6924b4b8acd", [branch: "with-pointers"]},
"parse_trans": {:hex, :parse_trans, "3.4.1", "6e6aa8167cb44cc8f39441d05193be6e6f4e7c2946cb2759f015f8c56b76e5ff", [:rebar3], [], "hexpm", "620a406ce75dada827b82e453c19cf06776be266f5a67cff34e1ef2cbb60e49a"},
"pathex": {:hex, :pathex, "2.6.0", "06fad5aaf81b2505698436e68e9f26a4cab3fab66aab10ff294e72974830fad1", [:mix], [], "hexpm", "359256d4748f598b6808a0acf18324e28511f5c057a4acdc5e0727d995d52c07"},
"pbkdf2_elixir": {:hex, :pbkdf2_elixir, "2.2.0", "2ec4f7daae2bf74cb9e52df3554bbdcec8a38104a7f0ccaa4d45d5919e4c3f19", [:mix], [{:comeonin, "~> 5.3", [hex: :comeonin, repo: "hexpm", optional: false]}], "hexpm", "6c4af97f5cae925c56caded648520510ea583eebf1587e185b9f445762197aff"},
"pegasus": {:hex, :pegasus, "0.2.5", "38123461fe41add54f715ce41f89137a31cd217d353005b057f88b9b67c39b6f", [:mix], [{:nimble_parsec, "~> 1.2", [hex: :nimble_parsec, repo: "hexpm", optional: false]}], "hexpm", "ee80708608807f4447f1da1e6e0ebd9604f5bda4fbe2d4bdd9aa6dd67afde020"},
"periscope": {:hex, :periscope, "0.7.0", "bb344935a94ca0de1cad540ffbae13517376a5fcfc1b38eb790621d54a197816", [:mix], [], "hexpm", "4be52f4adef8f60051b9d362453a387f3b0a2e57601a33061c7e3d586feccaaa"},
Expand Down

0 comments on commit f67b4b2

Please sign in to comment.