[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2298) Hibernate only uses info level on logger message to disencourage Hibernate Pool Manager. This should be a warning.

Federico Chiesa (JIRA) noreply at atlassian.com
Sun Dec 10 09:34:05 EST 2006


Hibernate only uses info level on logger message to disencourage Hibernate Pool Manager. This should be a warning.
------------------------------------------------------------------------------------------------------------------

         Key: HHH-2298
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2298
     Project: Hibernate3
        Type: Improvement

  Components: core  
 Environment: Hibernate 3.2.0, PostgreSQL 8.1.3, Windows.
    Reporter: Federico Chiesa
    Priority: Minor


I usually work with Log4J set to WARN for Hibernate, and debug for my applications' log messages.

I was testing some hibernate connection problems, and I enabled the INFO level for org.hibernate package. On a project I am testing, I got this message:

INFO org.hibernate.connection.DriverManagerConnectionProvider - Using Hibernate built-in connection pool (not for production use!)

Despite I knew that the connection pool of Hibernate is not for production use (because I read the documentation quite throughly), I believe that this should be a WARN level log message.

This will help all novice users be warned by Hibernate itself about dangerous usage of the connection pool that might be overlooked when reading the documentation.

-- 
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