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

The idea with having it is that any calls to logMessage() should be replaced with log.info(message), and that this exception will force us to do so. I'm assuming this was removed because something in the upgrade process called logMessage - if so, I'd say change all those calls to appropriate log.info|warn|error|debug calls instead. If in doubt, change them to info.