-
Bug
-
Resolution: Done
-
Major
-
6.1.0
-
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>
- blocks
-
RHBPMS-1479 Dashboard builder writes out a lot of statistics on INFO logging level
- Verified
- is duplicated by
-
RHBPMS-1479 Dashboard builder writes out a lot of statistics on INFO logging level
- Verified