-->
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.  [ 2 posts ] 
Author Message
 Post subject: unable to see the logs
PostPosted: Wed Mar 12, 2008 6:54 am 
Newbie

Joined: Thu Feb 21, 2008 6:19 am
Posts: 7
hi all,
I am new to hibernate. While i am running my hibernate aplication i am not able to see the hibernate logs.plse help me out.

showing like this
log4j:WARN No appenders could be found for logger (org.hibernate.cfg.Environment).
log4j:WARN Please initialize the log4j system properly.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Mar 12, 2008 8:37 am 
Beginner
Beginner

Joined: Tue Feb 26, 2008 2:04 pm
Posts: 28
Location: UK
you need to have a file named log4j.properties along with hibernate’s configuration and mapping files.

In this file,which is basically the properties file of Log4j, you can define the appenders you require.


mosa


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 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.