I have been attempting to get log4net logging in my asp.net web application with no success or any noticable errors. I am attempting to use the ADONetAppender appender with the
Internal debugging
for log4Net is the way to go as suggested by @Pratik. To write the details into a file do the following:
Add the following in web.config
even if you are using a different config file for log4net.
Reference