I tried to configure log4net for logging everything to the console output. I have a config file named Log4Net.config
Try this custom configuration through code. Worked for me and tested in multiple apps..
string logFilePath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "\\Config\\Log4Net.config");
FileInfo finfo = new FileInfo(logFilePath);
log4net.Config.XmlConfigurator.ConfigureAndWatch(finfo);
I understand it's a very late reply. But will be useful for some right.
When you have log4net config in a separate config file you should not include the configuration and configSections elements. log4net should be the top level element after the xml declartion.