}
catch (final InsufficientLogException ile)
{
LOGGER.info("InsufficientLogException thrown and so full network restore required", ile);
NetworkRestore restore = new NetworkRestore();
NetworkRestoreConfig config = new NetworkRestoreConfig();
config.setRetainLogFiles(false);
restore.execute(ile, config);
replicatedEnvironment = new ReplicatedEnvironment(environmentPath, replicationConfig, envConfig);
}
return replicatedEnvironment;