for ( ReplicaEventLog log : replicaLogMap.values() )
{
try
{
PROVIDER_LOG.debug( "Stopping the logging for replica ", log.getId() );
evtSrv.removeListener( log.getPersistentListener() );
log.stop();
}
catch ( Exception e )
{
PROVIDER_LOG.error( "Failed to close the event log {}", log.getId(), e );