Skip to content

Commit

Permalink
Compact adb logcat output (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesa2 authored Nov 30, 2020
1 parent ca4e6b0 commit 322d26f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emulator-run-cmd/src/emulator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 322d26f

Please sign in to comment.