logging replica string match