Someone can correct me if I'm wrong, but seeing as iBatis uses log4net to do 
the actual logging, you should just be able to configure log4net in your 
app.config and start getting output.

-----Original Message-----
From: Lear, Russell <[EMAIL PROTECTED]>
To: [email protected] <[email protected]>
Sent: Wed Nov 07 19:34:35 2007
Subject: Enabling logging in NUnit

This is probably a question with a very obvious answer, but …. 

I'm trying to run some unit tests using NUnit.  I'm not sure how to enable 
logging in iBATIS.  I assume I create an app.config file for the test DLL. (as 
opposed to an app.config file for the DLL under test).  But I'm not sure how to 
convince iBATIS to read that file and Do the Right Thing.  Any pointers 
appreciated!

Thanks, 
Russell. 
--------------------------------------------------------

Princeton Retirement Group, Inc - Important Terms 
This E-mail is not intended for distribution to, or use by, any person or 
entity in any location where such distribution or use would be contrary to law 
or regulation, or which would subject Princeton Retirement Group, Inc. or any 
affiliate to any registration requirement within such location. 
This E-mail may contain privileged or confidential information or may otherwise 
be protected by work product immunity or other legal rules. No confidentiality 
or privilege is waived or lost by any mistransmission. Access, copying or 
re-use of information by non-intended or non-authorized recipients is 
prohibited. If you are not an intended recipient of this E-mail, please notify 
the sender, delete it and do not read, act upon, print, disclose, copy, retain 
or redistribute any portion of this E-mail. 
The transmission and content of this E-mail cannot be guaranteed to be secure 
or error-free. Therefore, we cannot represent that the information in this 
E-mail is complete, accurate, uncorrupted, timely or free of viruses, and 
Princeton Retirement Group, Inc. cannot accept any liability for E-mails that 
have been altered in the course of delivery. Princeton Retirement Group, Inc. 
reserves the right to monitor, review and retain all electronic communications, 
including E-mail, traveling through its networks and systems (subject to and in 
accordance with local laws). If any of your details are incorrect or if you no 
longer wish to receive mailings such as this by E-mail please contact the 
sender by reply E-mail. 

--------------------------------------------------------

Reply via email to