Here's a short tutorial on how to use log4net in C#1. Get log4net from the apache website.2. Open your project with visual studio.3. Add the reference to your project: You find the reference in the zip that you just downloaded: \bin\net\xxx\release\log4ne... xxx is your .net version.4. Add the Appender section to your app.config. The following code uses a file for the logging: <configuration> <configSections> <section name="log4net" type="log4net.Config.Log4Ne... ......