none
WCF services hosted in IIS, what are options to add additional data to IIS logs RRS feed

  • Question

  • Greetings,

    I have WCF services hosted in IIS, The IIS loges shows only the svc file name.

    What are my options to add additional information to IIS logs, such as web method name or parameters?

    Thank you,

    Tuesday, August 18, 2015 3:38 PM

Answers

  • Hi Allan48,

    According to your description, and I test it in my IIS. I can find web method name or parameters.

    As far as I know the IIS log  file has the default configuration fields. I suggest you can check the

    configuration fields in IIS. You can double click logging button, and left click Select Fields, chose Method or other fields.

    For more information, please refer to the following articles:

    1.HTTP Logging <httpLogging>

    I hope that will be helpful to you.

    Best Regards,

    Grady


    Wednesday, August 19, 2015 6:02 AM
    Moderator

All replies

  • Why don't you use Log4Net.

    http://orkunsurucuoglu.blogspot.com/2013/03/sample-log4net-implementation-in-wcf.html

    You at the below link too.

    https://forums.iis.net/

    Tuesday, August 18, 2015 8:02 PM
  • Hi Allan48,

    According to your description, and I test it in my IIS. I can find web method name or parameters.

    As far as I know the IIS log  file has the default configuration fields. I suggest you can check the

    configuration fields in IIS. You can double click logging button, and left click Select Fields, chose Method or other fields.

    For more information, please refer to the following articles:

    1.HTTP Logging <httpLogging>

    I hope that will be helpful to you.

    Best Regards,

    Grady


    Wednesday, August 19, 2015 6:02 AM
    Moderator