From 0012d8a5f7e9b91ca4645ca27191b3ed92179465 Mon Sep 17 00:00:00 2001 From: Inhji Date: Mon, 21 Aug 2023 20:53:25 +0200 Subject: [PATCH] print debug in prod --- config/prod.exs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/config/prod.exs b/config/prod.exs index 8d50c44..141890d 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -14,9 +14,8 @@ config :chiya, ChiyaWeb.Endpoint, cache_static_manifest: "priv/static/cache_mani # Configures Swoosh API Client config :swoosh, api_client: Swoosh.ApiClient.Finch, finch_name: Chiya.Finch -# Do not print debug messages in production -# config :logger, level: :debug -config :logger, :default_handler, level: :info +# Do print debug messages in production +config :logger, :default_handler, level: :debug config :cors_plug, origin: ["app://obsidian.md"],