[hibernate-issues] [Hibernate-JIRA] Created: (HHH-6121) Hibernate statistics should log at DEBUG level instead of INFO

Philippe Laflamme (JIRA) noreply at atlassian.com
Wed Apr 13 14:22:59 EDT 2011


Hibernate statistics should log at DEBUG level instead of INFO
--------------------------------------------------------------

                 Key: HHH-6121
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-6121
             Project: Hibernate Core
          Issue Type: Bug
          Components: core
    Affects Versions: 3.5.6
            Reporter: Philippe Laflamme


With HHH-3659 came lots of output at INFO level during bulk operations:

{noformat}
2011-04-13 14:16:21,538 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
2011-04-13 14:16:21,538 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
2011-04-13 14:16:21,577 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
2011-04-13 14:16:21,577 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
2011-04-13 14:16:21,626 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
2011-04-13 14:16:21,626 - INFO  - hibernate.stat.Statistics  - HQL: null, time: 0ms, rows: 0
{noformat}

Hibernate used to be completely silent (except at startup) when set at the INFO level. Now, it is very verbose.

If someone needs query timings they are probably debugging something. This output should probably set at DEBUG level instead of INFO.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list