Uploaded image for project: 'Ambari'
  1. Ambari
  2. AMBARI-18419

Allow setting EclipseLink weave log level in build process

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.4.0
    • Fix Version/s: 3.0.0, 2.5.2
    • Component/s: ambari-server
    • Labels:
      None

      Description

      Ambari Serveri's build process includes eclipselink-staticweave-maven-plugin, with logLevel = ALL. This makes Maven output 17808 lines for EclipseLink even if running with -q.

      [INFO] --- eclipselink-staticweave-maven-plugin:1.0.4:weave (default) @ ambari-server ---
      [EL Finest]: jpa: 2016-09-19 16:52:30.507--ServerSession(1739278663)--Thread(Thread[main,5,main])--Begin predeploying Persistence Unit ambari-server; session ambari-server; state Initial; factoryCount 0
      [EL Finest]: properties: 2016-09-19 16:52:30.516--ServerSession(1739278663)--Thread(Thread[main,5,main])--property=eclipselink.weaving.changetracking; default value=true
      ...
      

      The goal of this change is let developers to suppress EclipseLink log, while keeping the current behavior as default.

        Issue Links

          Activity

          Hide
          adoroszlai Doroszlai, Attila added a comment -

          Rebased to current trunk

          Show
          adoroszlai Doroszlai, Attila added a comment - Rebased to current trunk
          Hide
          adoroszlai Doroszlai, Attila added a comment -

          Committed to trunk: commit 20997630d5be2a0d684a779b0daecb33ec54a4d6

          Show
          adoroszlai Doroszlai, Attila added a comment - Committed to trunk: commit 20997630d5be2a0d684a779b0daecb33ec54a4d6
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5703 (See https://builds.apache.org/job/Ambari-trunk-Commit/5703/)
          AMBARI-18419. Allow setting EclipseLink weave log level in build (stoader: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=20997630d5be2a0d684a779b0daecb33ec54a4d6)

          • (edit) ambari-server/pom.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Ambari-trunk-Commit #5703 (See https://builds.apache.org/job/Ambari-trunk-Commit/5703/ ) AMBARI-18419 . Allow setting EclipseLink weave log level in build (stoader: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=20997630d5be2a0d684a779b0daecb33ec54a4d6 ) (edit) ambari-server/pom.xml
          Hide
          adoroszlai Doroszlai, Attila added a comment -

          Committed to branch-2.5.

          Show
          adoroszlai Doroszlai, Attila added a comment - Committed to branch-2.5 .
          Hide
          hudson Hudson added a comment -

          FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1599 (See https://builds.apache.org/job/Ambari-branch-2.5/1599/)
          AMBARI-18419. Allow setting EclipseLink weave log level in build process (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55891101d6c7c0662e82f8e9f6f20354a1337c71)

          • (edit) ambari-server/pom.xml
          Show
          hudson Hudson added a comment - FAILURE: Integrated in Jenkins build Ambari-branch-2.5 #1599 (See https://builds.apache.org/job/Ambari-branch-2.5/1599/ ) AMBARI-18419 . Allow setting EclipseLink weave log level in build process (adoroszlai: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=55891101d6c7c0662e82f8e9f6f20354a1337c71 ) (edit) ambari-server/pom.xml

            People

            • Assignee:
              adoroszlai Doroszlai, Attila
              Reporter:
              adoroszlai Doroszlai, Attila
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development