From 68d7f83a5fbb8de9084202ae5a8295a050d0ca32 Mon Sep 17 00:00:00 2001 From: Moritz Kiefer Date: Wed, 27 Oct 2021 15:44:56 +0200 Subject: [PATCH] Switch bazel exec logs to json format (#11430) * Switch bazel exec logs to json format changelog_begin changelog_end * change file extension changelog_begin changelog_end --- build.ps1 | 2 +- build.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/build.ps1 b/build.ps1 index 145fa9d959b2..36ffafb49dcf 100644 --- a/build.ps1 +++ b/build.ps1 @@ -64,7 +64,7 @@ bazel build //... ` `-`-experimental_profile_include_target_label ` `-`-build_event_json_file build-events.json ` `-`-build_event_publish_all_actions ` - `-`-experimental_execution_log_file ${ARTIFACT_DIRS}/logs/build_execution_windows.log + `-`-execution_log_json_file ${ARTIFACT_DIRS}/logs/build_execution_windows.json bazel shutdown diff --git a/build.sh b/build.sh index fbd29d1c89c0..8a64f51c8394 100755 --- a/build.sh +++ b/build.sh @@ -35,7 +35,7 @@ bazel build //... \ --experimental_profile_include_target_label \ --build_event_json_file build-events.json \ --build_event_publish_all_actions \ - --experimental_execution_log_file "$ARTIFACT_DIRS/logs/build_execution${execution_log_postfix}.log" + --execution_log_json_file "$ARTIFACT_DIRS/logs/build_execution${execution_log_postfix}.json" # Set up a shared PostgreSQL instance. export POSTGRESQL_ROOT_DIR="${TMPDIR:-/tmp}/daml/postgresql" @@ -79,7 +79,7 @@ bazel test //... \ --experimental_profile_include_target_label \ --build_event_json_file test-events.json \ --build_event_publish_all_actions \ - --experimental_execution_log_file "$ARTIFACT_DIRS/logs/test_execution${execution_log_postfix}.log" + --execution_log_json_file "$ARTIFACT_DIRS/logs/test_execution${execution_log_postfix}.json" # Make sure that Bazel query works. bazel query 'deps(//...)' >/dev/null