[2.1] Print logs from flaky test shouldUpgradeDatabase().