Only log java command and arguments on Level.FINE

This commit is contained in:
Erik C. Thauvin 2024-04-04 02:33:41 -07:00
parent 4d4479bf23
commit f9cbd63bce
Signed by: erik
GPG key ID: 776702A6A2DA330E
5 changed files with 30 additions and 10 deletions

View file

@ -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"))));
}