ppkarwasz commented on code in PR #3839:
URL: https://github.com/apache/logging-log4j2/pull/3839#discussion_r2288444366
##########
log4j-core/src/main/java/org/apache/logging/log4j/core/config/ConfigurationFactory.java:
##########
@@ -263,6 +264,14 @@ public static void removeConfigurationFactory(final
ConfigurationFactory factory
protected abstract String[] getSupportedTypes();
+ /**
+ * Returns the file extensions supported by this configuration factory.
+ *
+ * @return list of supported file extensions (e.g., ["xml", "json"])
+ * @since 2.25.0
+ */
+ public abstract List<String> getSupportedExtensions();
Review Comment:
`getSupportedFileExtensions` sounds good, although I would keep this a list
to convey the order in which those extensions are checked.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]