hibernate烦人的log日志!

04-08-27 1111111
最近我在学习hibernate,程序运行都正常,但是每操作一步,日志就出来一大堆(如下),我没有加System.out.println这样的语句啊,我在哪个地方可以去掉这些打印出来的消息啊?

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration configure

信息: configuring from resource: /hibernate.cfg.xml

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration getConfigurationInputStream

信息: Configuration resource: /hibernate.cfg.xml

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration addResource

信息: Mapping resource: sort.hbm.xml

2004-8-27 16:38:33 net.sf.hibernate.cfg.Binder bindRootClass

信息: Mapping class: com.hibernate.sort -> sort

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration addResource

信息: Mapping resource: nsort.hbm.xml

2004-8-27 16:38:33 net.sf.hibernate.cfg.Binder bindRootClass

信息: Mapping class: com.hibernate.nsort -> nsort

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration doConfigure

信息: Configured SessionFactory: null

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-many association mappings

2004-8-27 16:38:33 net.sf.hibernate.cfg.Binder bindCollectionSecondPass

信息: Mapping collection: com.hibernate.sort.nsort -> nsort

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing one-to-one association property references

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration secondPassCompile

信息: processing foreign key constraints

2004-8-27 16:38:33 net.sf.hibernate.dialect.Dialect <init>

信息: Using dialect: net.sf.hibernate.dialect.Oracle9Dialect

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Use outer join fetching: true

2004-8-27 16:38:33 net.sf.hibernate.util.NamingHelper getInitialContext

信息: JNDI InitialContext properties:{}

2004-8-27 16:38:33 net.sf.hibernate.connection.DatasourceConnectionProvider configure

信息: Using datasource: sccrshop

2004-8-27 16:38:33 net.sf.hibernate.transaction.TransactionManagerLookupFactory getTransactionManagerLookup

信息: No TransactionManagerLookup configured (in JTA environment, use of process level read-write cache is not recommended)

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Use scrollable result sets: true

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Use JDBC3 getGeneratedKeys(): false

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Optimize cache for minimal puts: false

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: Query language substitutions: {}

2004-8-27 16:38:33 net.sf.hibernate.cfg.SettingsFactory buildSettings

信息: cache provider: net.sf.ehcache.hibernate.Provider

2004-8-27 16:38:33 net.sf.hibernate.cfg.Configuration configureCaches

信息: instantiating and configuring caches

2004-8-27 16:38:33 net.sf.hibernate.impl.SessionFactoryImpl <init>

信息: building session factory

2004-8-27 16:38:33 net.sf.hibernate.impl.SessionFactoryObjectFactory addInstance

信息: no JNDI name configured

1111111
2004-08-27 16:54
你们是怎么解决的??难道都不解决啊?日志问题怎么办?

ook
2004-08-31 14:16
配置文件中找log4j的咚东

把他的级别往高调

猜你喜欢