You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by Andy Seaborne <an...@apache.org> on 2017/04/08 20:22:49 UTC

Re: Preparing for 3.3.0 / jena-text / Logging

Another thing: Logging.

1:: Fuseki (and Jena) uses SLF4j (then log4jv1) and not log4j v2.

jena-text directly pulls in v2:

   org.apache.logging.log4j:log4j-core:2.7
   org.apache.logging.log4j:log4j-api:2.7

If this for the ES engine, then <scope>test</scope> will keep them out 
fo downstream dependencies but it would nice to configure because there 
is a warning in the build.

   org.apache.logging.log4j:log4j-to-slf4j

https://www.elastic.co/guide/en/elasticsearch/client/java-api/current/_using_another_logger.html


2:: The client code indirectly pulls in

  commons-logging:commons-logging:jar

so that needs excluding.

see jena-arq/pom.xml as one of several places where Jena does this for 
httpClient.

The commons-logging to SLF4j adapter should already be in the dependency 
(jena-arq puts it in).

	Andy