add log replay