Temporarily disable Geo Lookup logs to avoid crash on unit tests

This commit is contained in:
Felipe Zimmerle 2015-07-31 03:09:54 -03:00
parent f811ec6518
commit 7ff38e9018

View File

@ -33,9 +33,10 @@ bool GeoLookup::evaluate(Assay *assay, const std::string &exp) {
using std::placeholders::_2;
GeoIPRecord *gir;
bool ret = true;
bool ret = Utils::GeoLookup::getInstance().lookup(exp, &gir,
std::bind(&GeoLookup::debug, this, assay, _1, _2));
//bool ret = Utils::GeoLookup::getInstance().lookup(exp, &gir,
// std::bind(&GeoLookup::debug, this, assay, _1, _2));
if (ret && gir) {
if (gir->country_code) {