How to change log level (logger) during test?

bengt <[email protected]>
Newsgroups gmane.comp.lang.erlang.general
Message-ID <[email protected]>
Greetings,

While running Common Test suites I get too many log messages (from info level). What should I do to change the log level?
Erlang OTP 23, logger. No log config, that I set.

I have tried:
logger:set_primary_config( level, warning ) in init_per_suite/1. It returns ok, but info log continue.
Also tried set_module_level/2. Same result.


Best Wishes,
bengt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.