WCF Service Method Name in IIS Log

Can I configure IIS logs to display the method name invoked for the WCF service?

Currently, only the svc file name is displayed in the logs.

Current log:

/myservice.svc

I would like it to show:

/myservice.svc/mymethod

+6
source share
1 answer

Unfortunately, there is no way to have the IIS logging method name called in the service. It registers only the served page.

However, you can enable WCF logging to create an svclog file that gives a complete overview of the method calls and actions of the WCF service. See http://msdn.microsoft.com/en-us/library/ms730064.aspx for details.

Could it be acceptable?

+4
source

Source: https://habr.com/ru/post/897784/


All Articles