Skip to content

Commit

Permalink
Disable stdout logging in prod builds
Browse files Browse the repository at this point in the history
Not sure if that'a what we want but this keeps the same config as before
the logging changes.
  • Loading branch information
geekingfrog committed Jan 24, 2025
1 parent 2a0402e commit 03ae9c4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -63,5 +63,7 @@ config :teiserver, TeiserverWeb.Endpoint,
server: true,
version: Mix.Project.config()[:version]


config :logger, :default_handler, level: :info

# disable stdout logging in production, rely on log files
config :logger, LoggerBackends.Console, false

0 comments on commit 03ae9c4

Please sign in to comment.