You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
518 B
21 lines
518 B
2 years ago
|
import Config
|
||
|
|
||
|
# Do not print debug messages in production
|
||
|
|
||
|
config :logger, :console, level: :info
|
||
|
|
||
|
config :logger, :ecto,
|
||
|
level: :info,
|
||
|
path: Path.absname("logs/prod/ecto.log"),
|
||
|
rotate: %{max_bytes: 52_428_800, keep: 19}
|
||
|
|
||
|
config :logger, :error,
|
||
|
path: Path.absname("logs/prod/error.log"),
|
||
|
rotate: %{max_bytes: 52_428_800, keep: 19}
|
||
|
|
||
|
config :logger, :account,
|
||
|
level: :info,
|
||
|
path: Path.absname("logs/prod/account.log"),
|
||
|
rotate: %{max_bytes: 52_428_800, keep: 19},
|
||
|
metadata_filter: [fetcher: :account]
|