Skip to content

Commit

Permalink
vm/starnix: exclude netlink logs
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
eepeep committed Oct 7, 2024
1 parent 6d29602 commit 402f1df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/starnix/starnix.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 402f1df

Please sign in to comment.