Cut down log noise by just showing problems by default

pull/5768/head
tstromberg 2019-10-29 13:15:21 -07:00
parent b4ce29d589
commit 1a6cfdb034
1 changed files with 1 additions and 1 deletions

View File

@ -177,7 +177,7 @@ func CleanupWithLogs(t *testing.T, profile string, cancel context.CancelFunc) {
t.Helper()
if t.Failed() && *postMortemLogs {
t.Logf("%s failed, collecting logs ...", t.Name())
rr, err := Run(t, exec.Command(Target(), "-p", profile, "logs", "-n", "100"))
rr, err := Run(t, exec.Command(Target(), "-p", profile, "logs", "--show-problems"))
if err != nil {
t.Logf("failed logs error: %v", err)
}