Skip to content

Commit 57da6f5

Browse files
committed
Use debug logs for download and redirects URLs
1 parent 8211eac commit 57da6f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/ubic/basecode/ontology/jena/OntologyLoader.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ public static URLConnection openConnection( String url ) throws IOException {
253253
if ( StringUtils.isBlank( newUrl ) ) {
254254
throw new RuntimeException( String.format( "Redirect response for %s is lacking a 'Location' header.", url ) );
255255
}
256-
log.info( "Redirect to " + newUrl + " from " + url );
256+
log.debug( "Redirect to " + newUrl + " from " + url );
257257
urlc = openConnectionInternal( newUrl );
258258
}
259259
}
@@ -268,7 +268,7 @@ private static URLConnection openConnectionInternal( String url ) throws IOExcep
268268
if ( urlc instanceof HttpURLConnection ) {
269269
( ( HttpURLConnection ) urlc ).setInstanceFollowRedirects( true );
270270
}
271-
log.info( "Connecting to " + url );
271+
log.debug( "Connecting to " + url );
272272
urlc.connect(); // Will error here on bad URL
273273
return urlc;
274274
}

0 commit comments

Comments
 (0)