My project defines few log files which are made at runtime. Now I have to define their paths in web.config file where initially it should be disabled.
Now when the global.asax would be executed on runtime, it should read the value from web.config and fetch it and disable the log function.
If the user changes that setting to true or 1, it should enable the logging function.
Is there a way where I can custom define the logging function in my web.config file?
And how will I call that in my global.asax?