You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was running it to a situation where I set the log_level of a Logger middleware to always be :debug, but I was still seeing log output with the Logger log_level set to warn.
Looking at the code, it does something slightly different than was the documentation says.
If the request returns {:error, whatever}, the log level is always set to :error, the custom log level function is never called. The custom log level is only used when an {:ok, ...} is returned.
The text was updated successfully, but these errors were encountered:
I was running it to a situation where I set the log_level of a Logger middleware to always be
:debug
, but I was still seeing log output with the Logger log_level set towarn
.Looking at the code, it does something slightly different than was the documentation says.
If the request returns {:error, whatever}, the log level is always set to :error, the custom log level function is never called. The custom log level is only used when an {:ok, ...} is returned.
The text was updated successfully, but these errors were encountered: