I would like to store log4net config data in my application.config file. Based on my understanding of the documentation, I did the following:
Add a referenc
Add a line to your app.config in the configSections element
Then later add the log4Net section, but delegate to the actual log4Net config file elsewhere...
In your application code, when you create the log, write
private static ILog GetLog(string logName)
{
ILog log = LogManager.GetLogger(logName);
return log;
}