Commit 3c823403 by 李乾广

[chg]修改日志级别

1 parent 960aa686
package com.viontech.match.service; package com.viontech.match.service;
import com.alibaba.fastjson.JSON;
import com.viontech.keliu.model.BodyFeature; import com.viontech.keliu.model.BodyFeature;
import com.viontech.keliu.model.FaceFeature; import com.viontech.keliu.model.FaceFeature;
import com.viontech.keliu.model.Person; import com.viontech.keliu.model.Person;
...@@ -203,7 +204,7 @@ public class PersonService { ...@@ -203,7 +204,7 @@ public class PersonService {
} }
success.setMatch(1); success.setMatch(1);
success.setPersonPoolStatus(poolStatus); success.setPersonPoolStatus(poolStatus);
log.info("人员匹配操作完成,PoolIds:[{}}", poolIds); log.info("人员匹配操作完成,PoolIds:[{}}, {}", poolIds, JSON.toJSONString(poolStatus));
return success; return success;
} catch (ElasticsearchStatusException e) { } catch (ElasticsearchStatusException e) {
if (e.status() == RestStatus.BAD_REQUEST && e.getDetailedMessage().contains(Constant.CLASS_CAST_EXCEPTION)) { if (e.status() == RestStatus.BAD_REQUEST && e.getDetailedMessage().contains(Constant.CLASS_CAST_EXCEPTION)) {
......
...@@ -13,3 +13,5 @@ vion.index.number_of_replicas=0 ...@@ -13,3 +13,5 @@ vion.index.number_of_replicas=0
#delete-pool-after-days\u51E0\u5929\u540E\u5220\u9664\u5929\u6570\u914D\u7F6E #delete-pool-after-days\u51E0\u5929\u540E\u5220\u9664\u5929\u6570\u914D\u7F6E
delete.after.days=5 delete.after.days=5
logging.level.com.viontech.match=info
\ No newline at end of file \ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!