In normal separate XML file configuration i place in my root directory my application works just fine with both appenders.
However, I have found an easy and more efficient way to configure from an external file Which allowed me the flexibility of using the same config file for different applications...
Also one more advantage is I dont need to make any modification to the global.asax and assembly.
Here is the code which i added to my web.config
<appSettings>
<add key="log4net.Config" value="C:\\log\Log4Net.config"/>
</appSettings>
This code is suppose to put the config file in my root directory. And all I needed to do was reference the log4net.dll and start logging.
Even-though my AdoNetAppender is completely working fine and i am seeing the messages instantly in my table. But my fileAppenders arent creating any files neither logging the messages to existing files. Is this way only compatible with database or I'm missing something?