Uploaded image for project: 'Apache Jena'
  1. Apache Jena
  2. JENA-1867

Move jena-jdbc off log4j1

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Minor
    • Resolution: Done
    • Jena 3.14.0
    • Jena 4.0.0
    • JDBC
    • None

    Description

      Now that JENA-1005 has been completed, the only part of Jena directly mentioning log4j1 is jena-jdbc. This controls log4j1 directly.

      {org.apache.jena.jdbc.JnaDriver}} and TestMemDriverWithLogging.

      The dependency on log4j1 is managed in jena-jdbc/pom.xml to isolate it from the rest of Jena and used in jena-jdbc-core/pom.xml.

      Possibilities include:

      1. Bundle log4j2; possibly use LogCtl rather than code directly.
      2. Remove it (is it documented outside javadoc?)
      3. Continue with log4j1 can record the fact for the automated GH security scan of dependencies.

      (2) is motivated by my lack of knowledge about how visible the feature is and whether such "logging less" use case arise nowadays.

      Attachments

        Issue Links

          Activity

            People

              rvesse Rob Vesse
              andy Andy Seaborne
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: