Tidied up logging in integration tests.