[Hibernate-JIRA] Created: (HHH-2298) Hibernate only uses info level on logger message to disencourage Hibernate Pool Manager. This should be a warning.
by Federico Chiesa (JIRA)
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira