Re: [elixir-core:10907] [Proposal] Logger.put_process_level/2

2022-05-31 Thread José Valim
Hi Łukasz, Can you please expand what you mean? We already added Logger.put_process_level/2, which applies only to the current process at the moment. So it seems there is a pitfall we may need to document? I believe a process cannot override the general log level, is that correct? In other words,

Re: [elixir-core:10907] [Proposal] Logger.put_process_level/2

2022-05-28 Thread luk...@niemier.pl
There was discussion about that in OTP repository. Unfortunately it is not possible with current implementation of logger, as you cannot lower the requirement below default level per process, it is simply not supported by the OTP logger. https://github.com/erlang/otp/pull/2384 wtorek, 1 marca