Skip to content

Cleaning the build of unnecessary log messages #2341

@afs

Description

@afs

It is helpful if the build has no warnings and errors as far as possible so that any new ones that appear are more likely to be noticed. Some probably can't be addressed - e.g. shading warnings of overlaps.

The build currently (5.0.0) has some warnings and logging in tests - LogCtl.withLevel runs a Runnable at difefrent logging level for just the Runnable. Examples of use in the test areas.

jena-arq:
[INFO] [INFO] Running org.apache.jena.query.TestQueryCloningEssentials
[ERROR] 16:14:05 WARN  NodeValue  :: Datatype format exception: "2"^^xsd:negativeInteger
[ERROR] 16:14:05 WARN  NodeValue  :: Datatype format exception: "2"^^xsd:negativeInteger
jena-text:
[INFO] [INFO] Running org.apache.jena.query.text.TestTextMultipleProplistNotWorking
[ERROR] 16:15:41 WARN  TextIndexLuceneAssembler :: Multilingual support implicitly enabled by text:defineAnalyzers
[ERROR] 16:15:41 WARN  TextIndexLuceneAssembler :: Multilingual support implicitly enabled by text:defineAnalyzers
jena-geosparql:
[INFO] [INFO] Running org.apache.jena.geosparql.geo.topological.GenericPropertyFunctionTest
[ERROR] 16:16:57 WARN  SpatialIndex :: Lat/Lon Geo predicates also found but will not be added to index.

[INFO] [INFO] Running org.apache.jena.geosparql.configuration.GeoSPARQLOperationsTest
[ERROR] 16:16:57 WARN  GeoSPARQLOperations :: Output datatype null is not a recognised for Geometry Literal. Defaulting to http://www.opengis.net/ont/geosparql#wktLiteral.
[ERROR] 16:16:57 WARN  GeoSPARQLOperations :: Output datatype null is not a recognised for Geometry Literal. Defaulting to http://www.opengis.net/ont/geosparql#wktLiteral.
[ERROR] 16:16:57 WARN  GeoSPARQLOperations :: Output datatype null is not a recognised for Geometry Literal. Defaulting to http://www.opengis.net/ont/geosparql#wktLiteral.
[ERROR] 16:16:57 WARN  GeoSPARQLOperations :: Output datatype null is not a recognised for Geometry Literal. Defaulting to http://www.opengis.net/ont/geosparql#wktLiteral.
jena-integration-tests:
[INFO] [INFO] Running org.apache.jena.http.TestHttpOp
[ERROR] 16:17:08 WARN  org.apache.jena.fuseki.main.sys.FusekiAutoModules :: Ignored: "LegacyModule" : legacy use of interface FusekiModule which has changed to FusekiAutoModule
jena-shex:
[INFO] [WARNING] Parameter 'includePackageNames' is unknown for plugin 'maven-javadoc-plugin:3.6.3:jar (attach-javadocs)'

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions