Commit 3696f53d authored by Oleh Astappiev's avatar Oleh Astappiev
Browse files

Reduce amount of logs

parent a69aa5fa
......@@ -50,6 +50,10 @@ public class Runner {
if (processedUrls % 100 == 0) {
databaseLogger.flush();
}
if (processedUrls % 10000 == 0) {
logger.info("Processed {} URLs", processedUrls);
}
}
}
return 0;
......@@ -77,7 +81,7 @@ public class Runner {
// logger.info("Uid for {} retrieved {}", url, retUid);
databaseLogger.logRequest(DatabaseLogger.RequestTypes.uid, url, endTime - startTime);
} else {
logger.info("Can't get uid for url {}", url);
// logger.info("Can't get uid for url {}", url);
databaseLogger.logRequest(DatabaseLogger.RequestTypes.uid, url, endTime - startTime, 0);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment