diff options
author | href <href@random.sh> | 2021-09-07 05:26:48 +0200 |
---|---|---|
committer | href <href@random.sh> | 2021-09-07 05:26:48 +0200 |
commit | 4e024f1fe9302cfe0b7de3ee60f60d760c9a4279 (patch) | |
tree | bd42b5cbe62de3db146270e4438c36a68120fd5c /config | |
parent | Sentry (diff) |
json logger
Diffstat (limited to 'config')
-rw-r--r-- | config/prod.exs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/config/prod.exs b/config/prod.exs index b970a5d..e5d92db 100644 --- a/config/prod.exs +++ b/config/prod.exs @@ -3,5 +3,11 @@ use Mix.Config config :lsg, LSGWeb.Endpoint, http: [ip: {0,0,0,0}, port: 4000] +config :logger_json, :backend, + metadata: :all + +config :logger, + backends: [LoggerJSON] + import_config "secret.exs" import_config "prod.secret.exs" |