# 45 - Logging to the Database with Log4Net and ADO.Net


9/16/2008
Level: Intermediate
Tags: Dev Tools
Comments: (2)
Author:
Derik Whittaker
 
Presented By:
DataDynamics.Com


In this episode we take a look at how use Log4Net to log to SQL Server. We will be using the ADO.Net and the ADONetAppender.

This example will use the default database table layout in order to store the data. We will also look at creating an abstracted provider for the Logging classes.
Click here to Watch this Episode

Download (26.06 MB) (11:46) (1440x900)
Download (16.52 MB) (11:46) (960x600)

Links/Resources:


Comments: (2)

WD said....

I configured log4net as you did in the example but if you run the test with nunit it results in a build failure. The test will work but if you're running automated tests with nunit it won't work.


12/4/2008 7:08:58 AM

Dimecasts said....

@WD

Could you expand on your issue for me?


12/4/2008 10:01:39 AM


Name: *
Email (not displayed): *
Url:
Comments: *



So, you Human...?



Submit this story to DotNetKicks