Commit a40e931c by [zhangzhiwei]

删除无用的log

parent d9b8652d
......@@ -45,7 +45,7 @@ public class DataUpdate implements Runnable{
List<String> midList = DataQueue.get(48);
if(midList != null && midList.size() > 0) {
List<Status> list = WeiboCrawlerAnalysis.getWeiboData(midList, token);
logger.info("更新数据量" + list.size());
// logger.info("更新数据量" + list.size());
for(Status status : list) {
Date date = new Date(new Date().getTime()-24*60*60*1000);
if(status.getCreatedAt().after(date)){
......@@ -55,7 +55,7 @@ public class DataUpdate implements Runnable{
}
i = 1;
}else {
logger.error("目前数据量不足50,目前队列中得数据量为:::{}", DataQueue.linkQueue.size());
// logger.info("目前数据量不足50,目前队列中得数据量为:::{}", DataQueue.linkQueue.size());
i++;
}
} catch (Exception e) {
......
......@@ -23,11 +23,9 @@ public class HttpClientDemo {
headerMap.put("Content-Type", "application/x-www-form-urlencoded");
headerMap.put("Host", "weibo.com");
try {
System.out.println("开始下载");
// Response response = HttpBoot.syncCall(RequestUtils.wrapGet(url, headerMap));
// result = response.body().string();
result = HttpClientTemplateOK.get(url, null, headerMap);
System.out.println("下载结束");
return result;
} catch (Exception e) {
......
......@@ -44,7 +44,6 @@ public class RsidClientDAO {
for(int i=0; i<3; i++){
try {
boolean f = client.contains(mid, PTENUM.COMMON);
System.out.println(mid+"==========="+f);
return f;
} catch (Exception e) {
logger.error("判断此条微博消息是否存在出现问题",e.fillInStackTrace());
......
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