Only log java command and arguments on Level.FINE
This commit is contained in:
parent
4d4479bf23
commit
f9cbd63bce
5 changed files with 30 additions and 10 deletions
|
@ -184,8 +184,11 @@ public class TestNgOperation extends TestOperation<TestNgOperation, List<String>
|
|||
}
|
||||
}
|
||||
|
||||
if (LOGGER.isLoggable(Level.FINE)) {
|
||||
LOGGER.fine(String.join(" ", args));
|
||||
}
|
||||
|
||||
if (LOGGER.isLoggable(Level.INFO)) {
|
||||
LOGGER.info(String.join(" ", args));
|
||||
LOGGER.info(String.format("Report will be saved in file://%s", new File(options.get("-d"))));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue