Skip to content

Commit 1995580

Browse files
committed
Enable handling of otp reports in Elixir logger
The previous setting handle_otp_reports=false didn't have any effect prior to Elixir 1.19. See elixir-lang/elixir#14354. We were implicitly relying on it being set to true in our integration tests. After upgrading Elixir to v1.19 we know have to actually set it to true to keep seeing logs originating in OTP.
1 parent d2c97aa commit 1995580

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/sync-service/config/runtime.exs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ config :logger, :default_formatter,
3030
sasl? = env!("ELECTRIC_LOG_OTP_REPORTS", :boolean, false)
3131

3232
config :logger,
33-
handle_otp_reports: false,
33+
handle_otp_reports: true,
3434
handle_sasl_reports: sasl?
3535

3636
if config_env() == :test do

0 commit comments

Comments
 (0)