|
|
@ -32,20 +32,25 @@ config :logger, |
|
|
|
config :logger, :console, |
|
|
|
config :logger, :console, |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
metadata: ~w(application fetcher request_id first_block_number last_block_number block_number step count error_count)a |
|
|
|
metadata: |
|
|
|
|
|
|
|
~w(application fetcher request_id first_block_number last_block_number missing_block_range_count missing_block_count |
|
|
|
|
|
|
|
block_number step count error_count)a |
|
|
|
|
|
|
|
|
|
|
|
config :logger, :ecto, |
|
|
|
config :logger, :ecto, |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
metadata: |
|
|
|
metadata: |
|
|
|
~w(application fetcher request_id first_block_number last_block_number block_number step count error_count)a, |
|
|
|
~w(application fetcher request_id first_block_number last_block_number missing_block_range_count missing_block_count |
|
|
|
|
|
|
|
block_number step count error_count)a, |
|
|
|
metadata_filter: [application: :ecto] |
|
|
|
metadata_filter: [application: :ecto] |
|
|
|
|
|
|
|
|
|
|
|
config :logger, :error, |
|
|
|
config :logger, :error, |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
# Use same format for all loggers, even though the level should only ever be `:error` for `:error` backend |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
format: "$dateT$time $metadata[$level] $message\n", |
|
|
|
level: :error, |
|
|
|
level: :error, |
|
|
|
metadata: ~w(application fetcher request_id first_block_number last_block_number block_number step count error_count)a |
|
|
|
metadata: |
|
|
|
|
|
|
|
~w(application fetcher request_id first_block_number last_block_number missing_block_range_count missing_block_count |
|
|
|
|
|
|
|
block_number step count error_count)a |
|
|
|
|
|
|
|
|
|
|
|
# Import environment specific config. This must remain at the bottom |
|
|
|
# Import environment specific config. This must remain at the bottom |
|
|
|
# of this file so it overrides the configuration defined above. |
|
|
|
# of this file so it overrides the configuration defined above. |
|
|
|