Not logging expected errors during automated testing

I’m adding automated unit test to my project.
Some of my tests are supposed to log errors, which I want to test for.

I’m using the

AddExpectedError(TEXT("Some text"), EAutomationExpectedErrorFlags::Contains, 4);

to tell the tests what the expected errors are, and the test work fine with that syntax.
The only problem I have is that the errors are still logged in the console which leads to a lot of error messages while running the tests.

Is there a way not to log (show) expected error messages, so that users are not confused by error messages that don’t show errors but passing tests?

Would be especially useful for smoke tests, since they run on startup without prompt from the user and lead to a lot errors in the startup log.

Any help would be greatly appreciated.