From ce7be1254b6b1a8724de5f7e193a67fd6a3b4e56 Mon Sep 17 00:00:00 2001 From: Petri Virkkunen Date: Wed, 25 Oct 2023 10:10:45 +0300 Subject: [PATCH] COIN/Android: Specify tags for emulator logcat output Without specifying tags for logcat output, the flag -logcat-output does not actually write anything to file. Looks like -logcat-output is designed to take any logcat output that would be written to the emulator output and write it to a file instead, so if there is no logcat output in the emulator output, there will be no output to file. Task-number: QTQAINFRA-5908 Change-Id: If44265c858f8cb6854659fed6dd15d02cbf1d7ab Reviewed-by: Assam Boudjelthia --- coin/provisioning/common/linux/android_emulator_launcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coin/provisioning/common/linux/android_emulator_launcher.sh b/coin/provisioning/common/linux/android_emulator_launcher.sh index b9e6e6e9..ac80352e 100755 --- a/coin/provisioning/common/linux/android_emulator_launcher.sh +++ b/coin/provisioning/common/linux/android_emulator_launcher.sh @@ -67,7 +67,7 @@ do -gpu swiftshader_indirect -no-audio -no-window -no-boot-anim \ -cores 4 -memory 16000 -partition-size 4096 \ -detect-image-hang -restart-when-stalled -no-snapshot-save \ - -no-nested-warnings -logcat-output "${LOGCAT_PATH}" \ + -no-nested-warnings -logcat *:v -logcat-output "${LOGCAT_PATH}" \ "${EMULATOR_RUN_LOG_PATH}" 2>&1 & emulator_pid=$! disown $emulator_pid