|
|
|
@ -148,8 +148,9 @@ public class LogRecordAspect {
|
|
|
|
|
|
|
|
|
|
Map<String, String> expressionValues = logRecordValueParser.processTemplate(spElTemplates, ret, targetClass, method, args, errorMsg, functionNameAndReturnMap);
|
|
|
|
|
if (logConditionPassed(operation.getCondition(), expressionValues)) {
|
|
|
|
|
String tenant = environment.getProperty("tenant");
|
|
|
|
|
LogRecordInfo logRecordInfo = LogRecordInfo.builder()
|
|
|
|
|
.tenant(environment.getProperty("tenant"))
|
|
|
|
|
.tenant(StringUtils.isEmpty(tenant) ? "hippo4j" : tenant)
|
|
|
|
|
.bizKey(expressionValues.get(operation.getBizKey()))
|
|
|
|
|
.bizNo(expressionValues.get(operation.getBizNo()))
|
|
|
|
|
.operator(getRealOperatorId(operation, operatorIdFromService, expressionValues))
|
|
|
|
|