I want to turn off logging. I execute saving and loading of objects.
Then it logs on the console stuff in red (see below).
How can I turn that logging off?
Oct 11, 2003 5:06:50 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: Hibernate 2.0.3
Oct 11, 2003 5:06:50 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: loaded properties from resource hibernate.properties: {hibernate.connection.username=root, hibernate.connection.password=, hibernate.cglib.use_reflection_optimizer=true, hibernate.dialect=net.sf.hibernate.dialect.MySQLDialect, hibernate.connection.url=jdbc:mysql://localhost:3306/empl, hibernate.connection.driver_class=com.mysql.jdbc.Driver}
Oct 11, 2003 5:06:50 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: using CGLIB reflection optimizer
Oct 11, 2003 5:06:50 PM net.sf.hibernate.cfg.Environment <clinit>
INFO: JVM proxy support: true
Oct 11, 2003 5:06:50 PM net.sf.hibernate.cfg.Configuration addClass
INFO: Mapping resource: com/ibm/hibernate_article/Department.hbm.xml
Oct 11, 2003 5:06:52 PM net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: com.ibm.hibernate_article.Department -> department
Oct 11, 2003 5:06:52 PM net.sf.hibernate.cfg.Configuration addClass
INFO: Mapping resource: com/ibm/hibernate_article/Employee.hbm.xml
Oct 11, 2003 5:06:53 PM net.sf.hibernate.cfg.Binder bindRootClass
INFO: Mapping class: com.ibm.hibernate_article.Employee -> employee
Oct 11, 2003 5:06:53 PM net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing one-to-many association mappings
Oct 11, 2003 5:06:53 PM net.sf.hibernate.cfg.Configuration secondPassCompile
INFO: processing foreign key constraints
Oct 11, 2003 5:06:53 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: building session factory
Oct 11, 2003 5:06:53 PM net.sf.hibernate.dialect.Dialect <init>
INFO: Using dialect: net.sf.hibernate.dialect.MySQLDialect
Oct 11, 2003 5:06:53 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: Hibernate connection pool size: 20
Oct 11, 2003 5:06:53 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: using driver: com.mysql.jdbc.Driver at URL: jdbc:mysql://localhost:3306/empl
Oct 11, 2003 5:06:53 PM net.sf.hibernate.connection.DriverManagerConnectionProvider configure
INFO: connection properties: {user=root, password=}
Oct 11, 2003 5:06:53 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: Use outer join fetching: true
Oct 11, 2003 5:06:54 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: Use scrollable result sets: true
Oct 11, 2003 5:06:54 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: JDBC 2 max batch size: 15
Oct 11, 2003 5:06:54 PM net.sf.hibernate.impl.SessionFactoryObjectFactory addInstance
INFO: no JDNI name configured
Oct 11, 2003 5:06:54 PM net.sf.hibernate.impl.SessionFactoryImpl <init>
INFO: Query language substitutions: {}
|