Also clean up the log handling in the integration tester, most notably lost logs during the config loading. Fixes #12151