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

Allow setting EclipseLink weave log level in build process

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 2.4.0
    • 3.0.0, 2.5.2
    • ambari-server
    • 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.

      Attachments

        1. AMBARI-18419_20160921_v1.patch
          0.8 kB
          Attila Doroszlai

        Issue Links

          Activity

            People

              adoroszlai Attila Doroszlai
              adoroszlai Attila Doroszlai
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: