Skip to content

Commit

Permalink
default to harness.log.traceflag=false and show less appclient log ou…
Browse files Browse the repository at this point in the history
…tput

Signed-off-by: Scott Marlow <[email protected]>
  • Loading branch information
scottmarlow committed Nov 15, 2024
1 parent 2ac1ed6 commit 34a173c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
import tck.arquillian.protocol.common.TsTestPropsBuilder;

import java.io.IOException;
import java.util.logging.Level;
import java.util.logging.Logger;

public class AppClientMethodExecutor implements ContainerMethodExecutor {
Expand Down Expand Up @@ -67,7 +68,7 @@ public TestResult invoke(TestMethodExecutor testMethodExecutor) {
// Run the appclient for the test if required
String testMethod = testMethodExecutor.getMethodName();
if (config.isRunClient()) {
log.info("Running appClient for: " + testMethod);
log.fine("Running appClient for: " + testMethod);
try {
Deployment deployment = deploymentInstance.get();
appArchiveName = appClientArchiveName.get().name();
Expand All @@ -79,7 +80,7 @@ public TestResult invoke(TestMethodExecutor testMethodExecutor) {
return result;
}
} else {
log.info("Not running appClient for: " + testMethod);
log.fine("Not running appClient for %s: " + testMethod);
}
String[] lines = appClient.readAll(config.getClientTimeout());

Expand Down Expand Up @@ -119,7 +120,7 @@ public TestResult invoke(TestMethodExecutor testMethodExecutor) {
break;
}
result.addDescription(description);
log.info(result.toString() + ": " + description + ": " + vehicleArchiveName + ": " + appArchiveName);
log.log(Level.FINE, String.format("[%s] %s : %s", result.getStatus(), description, result));
}

return result;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1429,7 +1429,7 @@ optional.tech.packages.to.ignore=jakarta.xml.bind
########################################################################
harness.temp.directory=${ts.home}/tmp
harness.log.port=2000
harness.log.traceflag=true
harness.log.traceflag=false
harness.executeMode=0
harness.socket.retry.count=10
harness.log.delayseconds=1
Expand Down

0 comments on commit 34a173c

Please sign in to comment.