Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-112

Dashboard builder writes out a lot of statistics on INFO logging level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.1.0
    • 6.1.0
    • BAM
    • None

      +++ This bug was initially created as a clone of Bug #1133556 +++

      Dashboard-builder writes out a lot of statistics, for example [1]. These type of statistics should be printed on DEBUG logging level, not INFO.

      [1] 14:55:03,083 INFO [org.hibernate.engine.internal.StatisticalLoggingSessionEventListener] (ServerService Thread Pool – 58) Session Metrics {
      86953 nanoseconds spent acquiring 1 JDBC connections;
      0 nanoseconds spent releasing 0 JDBC connections;
      0 nanoseconds spent preparing 0 JDBC statements;
      0 nanoseconds spent executing 0 JDBC statements;
      0 nanoseconds spent executing 0 JDBC batches;
      0 nanoseconds spent performing 0 L2C puts;
      0 nanoseconds spent performing 0 L2C hits;
      0 nanoseconds spent performing 0 L2C misses;
      0 nanoseconds spent executing 0 flushes (flushing a total of 0 entities and 0 collections);
      0 nanoseconds spent executing 0 partial-flushes (flushing a total of 0 entities and 0 collections)

      — Additional comment from Van Halbert on 2014-08-25 08:02:08 CDT —

      This will require an override file for hibernate.cfg.xml, unless dashboard-builder can get a fix into their production branch.

      — Additional comment from Van Halbert on 2014-08-25 08:30:24 CDT —

      The question is, should the log level be changed or the hibernate.cfg.xml have the following property set to false, by default:

      <!-- Enable statistics collection -->
      <property name="generate_statistics">false</property>

      — Additional comment from Van Halbert on 2014-08-25 08:30:26 CDT —

      The question is, should the log level be changed or the hibernate.cfg.xml have the following property set to false, by default:

      <!-- Enable statistics collection -->
      <property name="generate_statistics">false</property>

      — Additional comment from Van Halbert on 2014-08-25 08:30:42 CDT —

      The question is, should the log level be changed or the hibernate.cfg.xml have the following property set to false, by default:

      <!-- Enable statistics collection -->
      <property name="generate_statistics">false</property>

              david.magallanes David Gutierrez
              rhn-engineering-vhalbert Van Halbert (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Jan Hrcek Jan Hrcek (Inactive)
              Cheng Zhang (Inactive), Filip Elias (Inactive), Kris Verlaenen, Marek Baluch, Rajesh Rajasekaran, vhalbert2
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: