Add --keep-logs option to integration tests.