Monthly Archives: December 2010

Log4net configuration

I always forget how to configure log4net to enable it’s powerful logging capabilities. So here’s how: For web applications: in your global.aspx file, when the application starts, add this line: XmlConfiguration.Configure(); For desktop applications add the same line in the main function. … Continue reading

Posted in Uncategorized | 1 Comment