-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 
Author Message
 Post subject: INFO messages show up as Errors
PostPosted: Thu May 08, 2008 6:56 am 
Newbie

Joined: Thu May 08, 2008 6:46 am
Posts: 2
I'm rather new to Hibernate, but I've inherited some legacy Java/Hibernate code whose logging behavior has me stumped. INFO messages are shown as Error messages.

Hibernate version: 3.1.3
Name and version of the database I'm using: Sybase 12.5.2

I'm getting log outputs at the console that look like the following. The problem is that none of these are errors (they're INFOs), yet they show up as errors. What can I do?

Error [main] - 15699 [main] INFO cfg.Environment - Hibernate 3.1.3

Error [main] - 15708 [main] INFO cfg.Environment - hibernate.properties not found

Error [main] - 15711 [main] INFO cfg.Environment - using CGLIB reflection optimizer

Error [main] - 15712 [main] INFO cfg.Environment - using JDK 1.4 java.sql.Timestamp handling

Error [main] - 15838 [main] INFO cfg.Configuration - Reading mappings from resource: com/service/beans/routing/Route.hbm.xml

Error [main] - 16068 [main] INFO cfg.HbmBinder - Mapping class: com.service.beans.routing.Route -> ROUTINGTABLE

.... and more.
There are no actual errors, yet every initialization message shows up as an error message.
What could be the problem? Is it a missing log4j properties file? The code doesn't use (or need) a hibernate.properties file.

TIA.


Top
 Profile  
 
 Post subject: questions
PostPosted: Sun May 11, 2008 8:57 am 
Senior
Senior

Joined: Sun Jun 11, 2006 10:41 am
Posts: 164
looks more like logging configuration issue... can you pls post your logging config?


Top
 Profile  
 
 Post subject:
PostPosted: Sun May 11, 2008 10:40 am 
Newbie

Joined: Thu May 08, 2008 6:46 am
Posts: 2
The legacy code doesn't even have a logging properties file.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.