[
https://issues.apache.org/jira/browse/JENA-1005?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15461438#comment-15461438
]
Andy Seaborne commented on JENA-1005:
-------------------------------------
Jena uses slf4j exclusively for logging output and a provider of log4j v1 as
an {{<optional>}} dependency.
The uses are:
* Module jena-cmds
* Module jena-base has logging setup code
* Fuseki has logging setup code with internal defaults
* Testing - Jena needs some logging provider to run during tests.
As of Sept 2016:
|| POM File || Notes ||
| jena-parent/pom.xml | Dependency, version and
{{<optional>}}
| jena-fuseki1/pom.xml | Fuseki1 logging
| jena-core/pom.xml | Surefire configuration
| jena-spatial/pom.xml | Surefire configuration
| jena-fuseki2/jena-fuseki-war/pom.xml | Logging
| jena-fuseki2/jena-fuseki-core/pom.xml | |
| jena-fuseki2/jena-fuseki-embedded/pom.xml | Excludes all log4j
| jena-csv/pom.xml | Surefire configuration
| jena-jdbc/jena-jdbc-core/pom.xml | Jena Driver configures Log4j
directly
| jena-cmds/pom.xml | Cmd output via fixed string
|| Assembly files || ||
| apache-jena/assembly-jena-zip.xml | Legacy for rdfcat?
| jena-fuseki1/assembly-dist.xml | |
| jena-fuseki2/apache-jena-fuseki/assembly-dist.xml | |
|| Other || ||
| apache-jena/jena-log4j.properties | Legacy for rdfcat?
| jena-arq/log4j.properties | Stray?
| jena-sdb/log4j.properties | SDB commands?
| jena-tdb/log4j.properties | Stray?
\\
|| Configuration Files - src/main ||
| jena-core/src/main/resources/jena-log4j.properties |
|
jena-fuseki2/jena-fuseki-core/src/main/resources/org/apache/jena/fuseki/log4j.properties
|
| jena-jdbc/jena-jdbc-core/src/main/resources/jena-jdbc-log4j.properties |
|| Configuration Files - src/test ||
| jena-core/src/test/resources/jena-test-log4j.properties |
| jena-arq/src/test/resources/log4j.properties |
| jena-arq/src/test/resources/log4j-testing.properties |
| jena-text/src/test/resources/log4j.properties |
| jena-maven-tools/src/test/resources/log4j.properties |
| jena-fuseki1/src/test/resources/log4j.properties |
| jena-permissions/src/test/resources/log4j.properties |
| jena-spatial/src/test/resources/log4j.properties |
| jena-csv/src/test/resources/log4j.properties |
| jena-jdbc/jena-jdbc-driver-remote/src/test/resources/log4j.properties |
| jena-jdbc/jena-jdbc-driver-tdb/src/test/resources/log4j.properties |
| jena-jdbc/jena-jdbc-driver-mem/src/test/resources/log4j.properties |
| jena-jdbc/jena-jdbc-driver-bundle/src/test/resources/log4j.properties |
| jena-jdbc/jena-jdbc-core/src/test/resources/log4j.properties |
| jena-elephas/jena-elephas-common/src/test/resources/log4j.properties |
| jena-elephas/jena-elephas-io/src/test/resources/log4j.properties |
| jena-elephas/jena-elephas-mapreduce/src/test/resources/log4j.properties |
> Move off Log4j v1.
> ------------------
>
> Key: JENA-1005
> URL: https://issues.apache.org/jira/browse/JENA-1005
> Project: Apache Jena
> Issue Type: Improvement
> Reporter: Andy Seaborne
> Priority: Minor
>
> Log4J v1 is approaching end-of-life. Jena uses slf4j for logging from code.
> Jena depends on log4j for controlling output in tests and for the output in
> commands. This is in the log4j explicit control utilities.
> Choices include:
> * Log4jv2 log4j v2 does not support log4j.properties.
> * Use java.util.logging (JUL) in some or all of those places.
> Others?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)