diff --git a/server/src/main/java/org/opensearch/node/Node.java b/server/src/main/java/org/opensearch/node/Node.java index 3ea14e4d2614d..c11721a1ea4c3 100644 --- a/server/src/main/java/org/opensearch/node/Node.java +++ b/server/src/main/java/org/opensearch/node/Node.java @@ -967,7 +967,7 @@ protected Node( systemIndexPlugins.stream() .collect( Collectors.toMap( - plugin -> plugin.getClass().getSimpleName(), + plugin -> plugin.getClass().getCanonicalName(), plugin -> plugin.getSystemIndexDescriptors(settings) .stream() .map(SystemIndexDescriptor::getIndexPattern) @@ -980,7 +980,7 @@ protected Node( for (SystemIndexPlugin plugin : systemIndexPlugins) { Consumer>> newOnSystemIndex = plugin.onSystemIndices(); if (newOnSystemIndex != null) { - logger.debug("Using onSystemIndex from plugin " + plugin.getClass().getName()); + logger.debug("Using onSystemIndex from plugin " + plugin.getClass().getCanonicalName()); if (onSystemIndex != null) { throw new IllegalArgumentException("Cannot have more than one plugin implementing onSystemIndex"); }