I cannot see my WCF Log.xml file when application uses the local IIS server.
For Cassini server everything works fine, I can see and parse my log file, created in accordence to the following setting:
switchValue="Information, ActivityTracing, Verbose" propagateActivity="true">
As soon as I switch from "Use Visual Studio Development Server" to "Use Local IIS Web server" (I need it for SSL connection debugging), no file LogPortal.xml can be found neither in root directory nor somewhere else on my computer.
What I have done so far to fix a problem:
1 . I set Full righites for IUSR, NETWORK and DefaultAppPool users for the project folder
2. I stop IIS each time I'm looking for the file to make it commited to disk
How to make the WCF to create the file I need?
I tried on my side both VS2010 and VS2012(Use IIS Express, the file is located at bin folder). In with VS2010, after creating the Virtual Directory, you need enable Directory browsing, the log file is located under service project folder. I'd suggest you try on another machine with IIS configured properly.
I enabled the directory browsing for the site, but it does not help. I cannot see my LogPortal.xml somewhere on my computer.
BTW, my another project, cofigured pretty much the same way, has no problems with diagnostics: log file is put in the root directory each time I enable system.diagnostics section and run it.