-->
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.  [ 4 posts ] 
Author Message
 Post subject: How enable log sql for NHibernate.Examples ?
PostPosted: Wed Sep 28, 2005 1:36 pm 
Newbie

Joined: Wed Sep 28, 2005 1:16 pm
Posts: 4
I find log4net dont work for src\NHibernate.Examples in rc-2.
The app.config seems old. I copy the segment form src\NHibernate.Test\app.config. but it don't work.
How to enable log sql for NHibernate.Examples ?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Sep 30, 2005 12:36 pm 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Read the tip about configuring log4net here: Strange behaviour in RC1

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


Top
 Profile  
 
 Post subject:
PostPosted: Mon Oct 03, 2005 11:37 pm 
Newbie

Joined: Wed Sep 28, 2005 1:16 pm
Posts: 4
I have add log4net.Config.XmlConfigurator.Configure();
But still dont work.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Oct 04, 2005 7:47 am 
Contributor
Contributor

Joined: Thu May 12, 2005 9:45 am
Posts: 593
Location: nhibernate.org
Did you add this line in your configuration?
Code:
<add key="hibernate.show_sql" value="true" />

_________________
Pierre Henri Kuaté.
Get NHibernate in Action Now!


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