<file value="" />
...is a good thing to have in the log4net.config file if you are going to doctor up the value anyways in on the C# side like this. I ran into an issue in which I was specifying, on the C# side, a log name that fluctuated as part of the name was the current date. There was no way to specify an identical name at log4net.config and hence I just put in a random name. An empty file with the random name would then end up at either C:\Windows\SysWOW64\ or where I kept application.manifest. The cure is to use the setting above.
No comments:
Post a Comment