Skip to content

Commit

Permalink
[tests] No logging if neither warning nor error.
Browse files Browse the repository at this point in the history
Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed May 14, 2017
1 parent 7dccf96 commit d2fd601
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -254,6 +254,7 @@ protected void starting(Description description) {
}
@Override
public Statement apply(Statement base, Description description) {
org.apache.log4j.LogManager.getRootLogger().setLevel(org.apache.log4j.Level.WARN);
// This test is working only in Eclipse, or Maven/Tycho.
TestScope scope = description.getAnnotation(TestScope.class);
if (scope == null) {
Expand Down

0 comments on commit d2fd601

Please sign in to comment.