SmartDataAnalytics / RdfProcessingToolkit

Command line interface based RDF processing toolkit to run sequences of SPARQL statements ad-hoc on RDF datasets, streams of bindings and streams of named graphs with support for processing JSON, CSV and XML using function extensions
https://smartdataanalytics.github.io/RdfProcessingToolkit/
Other
40 stars 3 forks source link

DBMS Probing log output should be hidden #50

Closed Aklakan closed 3 months ago

Aklakan commented 9 months ago

Currently every startup logs warnings similar to those below:

16:07:56 [INFO] [o.a.j.r.s.SparqlScriptProcessor:406] - Preparing SPARQL statement at line 1, column 1
16:07:56 [WARN] [o.a.j.a.exec:80] - URI <bif:sys_stat> has no registered function factory
16:07:56 [WARN] [o.a.j.a.exec:80] - URI <bif:sys_stat> has no registered function factory
16:07:56 [WARN] [o.a.j.s.u.MappedLoader:54] - Loading function or property function with old style 'jena.hpl.hp.com' used - preferred style is to use 'jena.apache.org': http://jena.hpl.hp.com/ARQ/property#versionARQ => http://jena.apache.org/ARQ/property#versionARQ
16:07:56 [WARN] [o.a.j.s.u.ClsLoader:54] - Class not found: org.apache.jena.sparql.pfunction.library.versionARQ
16:07:56 [WARN] [o.a.j.a.exec:80] - URI <tag:stardog:api:functions:toRadians> has no registered function factory
16:07:56 [WARN] [o.a.j.a.exec:80] - URI <http://www.ontotext.com/sparql/functions/toRadians> has no registered function factory
16:07:56 [INFO] [o.a.s.c.m.SparqlIntegrateCmdImpls:511] - Detected DBMS: jena
Aklakan commented 3 months ago

Output is now disabled for probing. The solution was the statement E_Function.WarnOnUnknownFunction = false;.