[utilities COMMIT] /java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java
noreply at shibboleth.net
noreply at shibboleth.net
Thu Feb 5 21:32:53 EST 2015
Author: scantor
Date: Thu Feb 5 21:32:53 2015
New Revision: 739
URL: http://svn.shibboleth.net/view/utilities?rev=739&view=rev
Log:
Adjust logging levels.
Modified:
java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java
Modified: java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java
URL: http://svn.shibboleth.net/view/utilities/java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java?rev=739&r1=738&r2=739&view=diff
==============================================================================
--- java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java (original)
+++ java-support/trunk/src/main/java/net/shibboleth/utilities/java/support/xml/SchemaBuilder.java Thu Feb 5 21:32:53 2015
@@ -251,7 +251,7 @@
final SchemaFactory schemaFactory = schemaLang.getSchemaFactory();
if (features.isEmpty()) {
- log.info("No SchemaFactory features set, setting FEATURE_SECURE_PROCESSING by default");
+ log.debug("No SchemaFactory features set, setting FEATURE_SECURE_PROCESSING by default");
schemaFactory.setFeature(XMLConstants.FEATURE_SECURE_PROCESSING, true);
if (resourceResolver != null && !(resourceResolver instanceof ClasspathResolver)) {
log.warn("Custom LSResourceResolver supplied, may interact badly with secure processing mode");
@@ -261,7 +261,7 @@
if (resourceResolver == null) {
log.info("Allowing schema and DTD access to non-remote resources (LSResourceResolver unset)");
} else {
- log.info("Allowing schema and DTD access to non-remote resources (ClasspathResolver set)");
+ log.debug("Allowing schema and DTD access to non-remote resources (ClasspathResolver set)");
}
} catch (final SAXException e) {
log.info("Unable to set ACCESS_EXTERNAL_SCHEMA property, classpath-based schema lookup might fail");
More information about the commits
mailing list