Capture_log: true for logs in other processes?

I am sorry if someone has asked this before, but I think that @tag capture_log: true does not work for tests when the code executes inside another process (e.g. via a GenServer). I am wondering if there is some other way to make those log messages silent?

Maybe you can use the function directly in your tests instead?

Link to docs

Raise the log level in the configuration to the value you want.