Suddenly getting hit with OTP logs despite config against it, any ideas?

The umbrella application we’ve been working on for quite some time just started dumping OTP reports.

Application.get_env(:logger, :handle_otp_reports) == false

Is it possible one of our dependencies is injecting them now?

It’s an overwhelming amount of logs :frowning:

You can tell Logger to handle otp_reports and sasl logs with the configuration here: https://hexdocs.pm/logger/Logger.html#module-error-logger-configuration

In this case you actually want to set these values to true. That way Logger handles them and you can disable or quiet them based on log level.

2 Likes

Thanks! We found the problem was that sasl_logs: false had been stripped accidentally.
It appears that this enables otp reports – which I wouldn’t have imagined, but alas :slight_smile: