修改区块链日志,使用mongdb存储,只记录错误日志

This commit is contained in:
zhangqinbin
2022-04-22 17:22:14 +08:00
parent c42b9b8178
commit 70c55da8c0

View File

@ -143,7 +143,7 @@ public class CrypConfigureServiceImpl extends BaseServiceImpl<CrypConfigureMappe
}finally { }finally {
if(blockChainLog.getStatus().equals(1)){ 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.OTHER, EbtpLogType.INSERT);
} }
} }