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

Description

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.

Activity

Show:

Brett MeyerJanuary 2, 2014 at 8:18 PM

Will eventually be in master/5.0.0, but on hold for our metamodel->master branch merge.

Brett MeyerDecember 17, 2013 at 7:29 PM

Agreed – makes sense

Fixed

Details

Assignee

Reporter

Original estimate

Time tracking

No time logged0.02h remaining

Components

Fix versions

Priority

Created December 10, 2006 at 4:34 PM
Updated May 5, 2022 at 10:47 AM
Resolved May 5, 2022 at 10:47 AM