修改区块链日志,使用mongdb存储,只记录错误日志
This commit is contained in:
@ -141,7 +141,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
|
|||||||
blockChainLog.setResult(e.getMessage());
|
blockChainLog.setResult(e.getMessage());
|
||||||
|
|
||||||
}finally {
|
}finally {
|
||||||
if("1".equals(blockChainLog.getStatus())){
|
if(blockChainLog.getStatus().equals(1)){
|
||||||
log.error("区块链调用失败!~-----------------");
|
log.error("区块链调用失败!~-----------------");
|
||||||
operationLogService.addOperationLog("区块链同步失败信息,参数{}"+json+"返回信息{}"+str,false, EbtpLogBusinessModule.CRYPT_DECRYPT, EbtpLogType.INSERT);
|
operationLogService.addOperationLog("区块链同步失败信息,参数{}"+json+"返回信息{}"+str,false, EbtpLogBusinessModule.CRYPT_DECRYPT, EbtpLogType.INSERT);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user