Skip to content

Commit

Permalink
Remove test logs
Browse files Browse the repository at this point in the history
  • Loading branch information
krsoninikhil committed Feb 7, 2025
1 parent 48bb228 commit a598b40
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,13 +100,11 @@ private void recordLogAttributes(AuditEventBase eventBase) {
MDC.put(AUTH_AUDIT_USER, event.getUser());
MDC.put(AUTH_AUDIT_ACTION, event.getAction());
MDC.put(AUTH_AUDIT_ENTITY_GUID, event.getEntityGuid());
MDC.put(AUTH_AUDIT_POLICY_ID, event.getPolicyId()+"---test---");
MDC.put(AUTH_AUDIT_POLICY_ID, event.getPolicyId());
MDC.put(AUTH_AUDIT_RESOURCE, event.getResourcePath());
MDC.put(AUTH_AUDIT_RESULT, String.valueOf(event.getAccessResult()));
MDC.put(AUTH_AUDIT_CLIENT_IP, event.getClientIP());
MDC.put(AUTH_AUDIT_AGENT, event.getAgentId());
logger.info("AuthzAuditEvent: getResourcePath" + event.getResourcePath());
logger.info("AuthzAuditEvent: " + event);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ private void sendNotifications(OperationType operationType, List<EntityNotificat

private void sendNotifications(OperationType operationType, List<EntityNotificationV2> messages, boolean forceInline) throws AtlasBaseException {
if (!messages.isEmpty()) {


try {
if (forceInline) {
inlineNotificationSender.send(operationType, messages);
Expand Down

0 comments on commit a598b40

Please sign in to comment.