Skip to content

Commit

Permalink
Merge pull request #1806 from Logflare/chore/fix-logger-json
Browse files Browse the repository at this point in the history
chore: fix logger json backend metadata filtering
  • Loading branch information
Ziinc authored Nov 3, 2023
2 parents eecb64a + 9f9ca7c commit f8605eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 5 additions & 0 deletions config/config.exs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ config :logger,
handle_sasl_reports: false,
level: :info

config :logger_json, :backend,
metadata: :all,
json_encoder: Jason,
formatter: LoggerJSON.Formatters.GoogleCloudLogger

config :ueberauth, Ueberauth,
providers: [
github: {Ueberauth.Strategy.Github, [default_scope: "user:email"]},
Expand Down
4 changes: 0 additions & 4 deletions config/prod.exs
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,4 @@ config :logflare_logger_backend,
flush_interval: 2_000,
max_batch_size: 250

config :logger_json, :backend,
json_encoder: Jason,
formatter: LoggerJSON.Formatters.GoogleCloudLogger

import_config "telemetry.exs"

0 comments on commit f8605eb

Please sign in to comment.