test for similarity ratio in log file