Yeah, I know, that is my work.
I 100% agree with you that default of :debug is wrong and should be changed, ideally to match Erlang’s :notice, as it would make a lot of stuff much easier.
Unfortunately - no. If that would be possible then I would propose that in the first place, but there is no way to detect that.
I believe that the default configuration of logger should match the production environment, not dev. Dev environment is form of special environment, and accidental leakage of private data (which may be logged in debug logs) is bigger issue IMHO.


















