Skip to content

Commit

Permalink
RANGER-4523: Suggestion on improving logs from AtlasNotificationMapper
Browse files Browse the repository at this point in the history
Signed-off-by: Dineshkumar Yadav <[email protected]>
  • Loading branch information
RakeshGuptaDev authored and dineshkumar-yadav committed Nov 8, 2024
1 parent e4b7f14 commit 9d95ec5
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,9 @@ public static void logUnhandledEntityNotification(EntityNotificationWrapper enti
if (!entityNotification.getIsEntityTypeHandled()) {
LOG.warn("Tag-sync is not enabled to handle notifications for Entity-type:[" + entityNotification.getEntityTypeName() + "]");
}
LOG.warn("Dropped process entity notification for Atlas-Entity [" + entityNotification.getRangerAtlasEntity() + "]");
if (LOG.isDebugEnabled()) {
LOG.debug("Dropped process entity notification for Atlas-Entity [" + entityNotification.getRangerAtlasEntity() + "]");
}
}

}
Expand Down

0 comments on commit 9d95ec5

Please sign in to comment.