I know this question is quite old, but still relevant in my opinion, so I will add an alternative answer.
If you just want to disable (or reduce) logging for certain tests, or for some reason want to do this from code rather than creating a configuration file, you can do the following:
RootLogger.getRootLogger().setLevel(Level.OFF);
source share