mirror of https://github.com/grpc/grpc-java.git
buildscripts,interop-testing: Increase logging for xDS tests (#6818)
This commit is contained in:
parent
5e7b8c672f
commit
99b6d0156e
|
@ -14,7 +14,8 @@ popd
|
|||
git clone https://github.com/grpc/grpc.git
|
||||
|
||||
grpc/tools/run_tests/helper_scripts/prep_xds.sh
|
||||
python3 grpc/tools/run_tests/run_xds_tests.py \
|
||||
JAVA_OPTS=-Djava.util.logging.config.file=grpc-java/buildscripts/xds_logging.properties \
|
||||
python3 grpc/tools/run_tests/run_xds_tests.py \
|
||||
--test_case=all \
|
||||
--project_id=grpc-testing \
|
||||
--gcp_suffix=$(date '+%s') \
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
handlers=java.util.logging.ConsoleHandler
|
||||
io.grpc.ChannelLogger.level=FINEST
|
||||
io.grpc.xds.level=FINEST
|
||||
java.util.logging.ConsoleHandler.level=FINEST
|
||||
java.util.logging.ConsoleHandler.formatter=java.util.logging.SimpleFormatter
|
|
@ -223,7 +223,7 @@ public final class XdsTestClient {
|
|||
|
||||
@Override
|
||||
public void onClose(Status status, Metadata trailers) {
|
||||
if (!status.isOk()) {
|
||||
if (printResponse && !status.isOk()) {
|
||||
logger.log(Level.WARNING, "Greeting RPC failed with status {0}", status);
|
||||
}
|
||||
for (XdsStatsWatcher watcher : savedWatchers) {
|
||||
|
|
Loading…
Reference in New Issue