Hi Henry.
Did you call configuration init like below?
XmlConfigurator.Configure();
I put this in executing assembly (for me it was unit test assembly).
It would initialize log4net module according to xml config.
Brian Choi
-----Original Message-----
From: Henry Lu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, October 18, 2006 5:23 AM
To: [email protected]
Subject: Re: Log4net...
Are there any one having answer of this? Are there anyone using the same
platform as I am using?
Windows server 2003
SQL Server 2003
Visual Stedio .Net Framework 2005
Web application asp.net 2.0
Log4net
Ibatis.datamapper
Can some one post a working configuration example?
-Henry
Ron Grabowski wrote:
>Did Don's post help resolve your problem?
>
>----- Original Message ----
>From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
>To: [email protected]; Ron Grabowski <[EMAIL PROTECTED]>
>Sent: Saturday, October 14, 2006 1:56:28 PM
>Subject: Log4net...
>
>I copied and pasted configuration in the ibatis sqlmapper document for
>logging but I didn't get anything in the log file about SQL statements
>and IBATIS. I am using VS2005 .NET 2 and log4net for log. What should i
>do to log all SQL statement in the log file? Should I call some
>functions? objects? ...
>
>-Henry
>
>
>
>
>
>
>