From 322d26f7b20222f13b0c6507059b5fc22100cc86 Mon Sep 17 00:00:00 2001 From: hannesa2 Date: Mon, 30 Nov 2020 09:46:13 +0100 Subject: [PATCH] Compact adb logcat output (#24) --- emulator-run-cmd/src/emulator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emulator-run-cmd/src/emulator.ts b/emulator-run-cmd/src/emulator.ts index 07e079d6..168c284b 100644 --- a/emulator-run-cmd/src/emulator.ts +++ b/emulator-run-cmd/src/emulator.ts @@ -87,7 +87,7 @@ export class Emulator { console.log('Starting logcat read process'); try { await execIgnoreFailure(`mkdir -p artifacts`) - await execIgnoreFailure(`bash -c \\\"${this.sdk.androidHome()}/platform-tools/adb -s emulator-${this.adbPort} logcat -v long > artifacts/logcat.log &\"`) + await execIgnoreFailure(`bash -c \\\"${this.sdk.androidHome()}/platform-tools/adb -s emulator-${this.adbPort} logcat -dv time > artifacts/logcat.log &\"`) } catch (e) { console.warn("can't start logcat read process. skipping") }