Change log level in production

This commit is contained in:
Roman 2023-06-06 17:01:17 -04:00
parent 357fe22583
commit c4853a9f3e
4 changed files with 8 additions and 0 deletions

View file

@ -2,3 +2,7 @@ import Config
config :nostrum,
youtubedl: "/usr/bin/yt-dlp"
# Import environment specific config. This must remain at the bottom
# of this file so it overrides the configuration defined above.
import_config "#{config_env()}.exs"

0
config/dev.exs Normal file
View file

4
config/prod.exs Normal file
View file

@ -0,0 +1,4 @@
import Config
# Do not print debug messages in production
config :logger, level: :info

0
config/test.exs Normal file
View file