Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-18697

Adding flink-table-api-java-bridge_2.11 to a Flink job kills the IDE logging

    XMLWordPrintableJSON

    Details

      Description

      Steps to reproduce:

      • Set up a Flink project using a Maven archetype
      • Add "flink-table-api-java-bridge_2.11" as a dependency
      • Running Flink won't produce any log output

      Probable cause:
      "flink-table-api-java-bridge_2.11" has a dependency to "org.apache.flink:flink-streaming-java_2.11:test-jar:tests:1.11.0", which contains a "log4j2-test.properties" file.

      When I disable Log4j2 debugging (with "-Dlog4j2.debug"), I see the following line:

      DEBUG StatusLogger Reconfiguration complete for context[name=3d4eac69] at URI jar:file:/Users/robert/.m2/repository/org/apache/flink/flink-streaming-java_2.11/1.11.0/flink-streaming-java_2.11-1.11.0-tests.jar!/log4j2-test.properties (org.apache.logging.log4j.core.LoggerContext@568bf312) with optional ClassLoader: null
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jark Jark Wu
                Reporter:
                rmetzger Robert Metzger
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: