Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

IIS Log files are not getting generated for the "SharePoint Web Services" webapplication in SharePoint - 2010, even though Logging is enabled at the IIS level.

Is that an expected behavior? or this there nothing can be done to trace IIS logs for the "SharePoint Web Services" webapplication?

share|improve this question
    
This is not expected behaviour, logs should exist for a web application's IIS web site and are a critical troubleshooting tool. –  shufler Sep 11 '12 at 20:43

1 Answer 1

SharePoint Web Services use WCF which runs "side-by-side" with ASP.NET within IIS and thus do not get logged within the HTTP pipeline. https://msdn.microsoft.com/en-us/library/aa702682.aspx

I tried setting <serviceHostingEnvironment aspNetCompatibilityEnabled="true" /> in the web.config, but it didn't seem to help.

I successfully enabled WCF tracing by Following https://msdn.microsoft.com/en-us/library/ms733025.aspx. I then had great fun Using Service Trace Viewer for Viewing Correlated Traces and Troubleshooting (h ttps://msdn.microsoft.com/en-us/library/aa751795.aspx). Unfortunately, its too verbose to leave on and is not as easy as IIS web logs.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.