This commit is contained in:
Emilka 2018-03-20 02:33:53 +01:00
parent fc9e606bbe
commit b8012ffdbc
1 changed files with 2 additions and 2 deletions

View File

@ -136,8 +136,8 @@ public class SparqlUtils {
String url = String.format("%s?default-graph-uri=http://dbpedia.org&query=%s&format=xml",
endpointUrl, URLEncoder.encode(formQuery(json,"en"), "UTF-8"));
if(ConfigManager.DEBUG > 5) {
LogInfo.logs("SPARQL query: " + formQuery(json));
LogInfo.logs("Query: " + url);
LogInfo.logs("SPARQL query: %s", formQuery(json));
LogInfo.logs("Query: %s", url);
}
ServerResponse response = makeRequest(url);