better pattern find among logs