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

Strong Liu (JIRA) noreply at atlassian.com
Wed Oct 19 09:33:19 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-6121?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Strong Liu resolved HHH-6121.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 4.0.0.next
                   3.6.8

> 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
>            Assignee: Strong Liu
>             Fix For: 3.6.8, 4.0.0.next
>
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the hibernate-issues mailing list