Skip to content

Commit b881a64

Browse files
David Waltermiredavid-waltermire
authored andcommitted
Change the logging level of the matcher replacement warning to debug.
1 parent 8fdc495 commit b881a64

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

databind/src/main/java/gov/nist/secauto/metaschema/databind/AbstractModuleLoaderStrategy.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,9 @@ protected IBindingMatcher registerBindingMatcher(@NonNull IBoundDefinitionModelA
158158
IBindingMatcher old = bindingMatchers.put(qname, retval);
159159
if (old != null && !(definition.getContainingModule() instanceof MetaschemaModelModule)) {
160160
// FIXME: find existing causes of this in unit tests
161-
LOGGER.atWarn().log("Replacing matcher for QName: {}", qname);
161+
if (LOGGER.isDebugEnabled()) {
162+
LOGGER.atDebug().log("Replacing matcher for QName: {}", qname);
163+
}
162164
}
163165

164166
// retval = bindingMatchers.get(definition);

0 commit comments

Comments
 (0)