aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Finucane <eep@google.com>2024-08-09 15:55:22 -0700
committereepeep <50846949+eepeep@users.noreply.github.com>2024-10-07 22:18:45 +0000
commit402f1df054ddb07ed5bb299d08c781354eb06607 (patch)
tree51700a793d70707268db3cb2ee61fc4377374fff
parent6d29602b3cc4e8e586d706e78221b8019a7c2ae3 (diff)
vm/starnix: exclude netlink logs
They are very noisy and can cause important crash information to run off the end of the buffer; this is a temporary fix to avoid that.
-rw-r--r--vm/starnix/starnix.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vm/starnix/starnix.go b/vm/starnix/starnix.go
index 88c0cb3b9..2876d42f9 100644
--- a/vm/starnix/starnix.go
+++ b/vm/starnix/starnix.go
@@ -241,7 +241,8 @@ func (inst *instance) startFuchsiaLogs() error {
// trigger a false positive from the unexpected reboot check. To avoid this,
// only request logs from now on.
cmd := inst.ffxCommand("--target", inst.name, "log", "--since", "now",
- "--show-metadata", "--show-full-moniker", "--no-color")
+ "--show-metadata", "--show-full-moniker", "--no-color",
+ "--exclude-tags", "netlink")
cmd.Stdout = inst.wpipe
cmd.Stderr = inst.wpipe
inst.merger.Add("fuchsia", inst.rpipe)