Skip to content
Snippets Groups Projects
Commit adc8430d authored by Thorsten Vitt's avatar Thorsten Vitt
Browse files

reduced the resolver's logging level

parent 7a7b05c4
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@ public static boolean isResolveable(final URI uri) {
@Override
public Source resolve(final String href, final String base) throws TransformerException {
logger.info(MessageFormat.format(
logger.finer(MessageFormat.format(
"Trying to resolve href={0}, base={1}", href, base));
try {
final URI uri = new URI(href).resolve(base);
......@@ -64,11 +64,11 @@ public Source resolve(final String href, final String base) throws TransformerEx
resolved.append('#').append(uri.getFragment());
}
final URL url = new URL(resolved.toString());
logger.log(Level.INFO,
logger.log(Level.FINER,
MessageFormat.format("Resolved {0} to {1}", uri, url));
return new StreamSource(url.openStream(), href);
} else {
logger.log(Level.INFO, "Did not resolve {0}", uri);
logger.log(Level.FINER, "Did not resolve {0}", uri);
return null;
}
} catch (final URISyntaxException e) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment