Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6893939
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T06:43:14+00:00 2026-05-27T06:43:14+00:00

I have a WCF Service which is currently in Production. The code performance are

  • 0

I have a WCF Service which is currently in Production. The code performance are not where we would like them to be and we are unable to reproduce in our Staging environment.

I was wondering if it is possible to log every single method call made to the service and by the service. Essentially I would like a sequential list of all the calls and time stamps (our code isn’t multi-threaded).

Is there a way to achieve that without having to instrument the binaries. Is there a level of tracing under the system.diagnostic node in the web.config that we could change?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T06:43:15+00:00Added an answer on May 27, 2026 at 6:43 am

    Have you configured tracing in your configuration file? This is a good article on the subject.

    Here is a sample configuration you can use and modify for your needs:

    <system.diagnostics>
        <trace autoflush="true" />
        <sources>
            <source name="System.ServiceModel"
                    switchValue="Information, ActivityTracing"
                    propagateActivity="true">
                <listeners>
                    <add name="ServiceModel"
                         type="System.Diagnostics.XmlWriterTraceListener"
                         initializeData="C:\ServiceModel.svclog" />
                </listeners>
            </source>
            <source name="System.ServiceModel.MessageLogging">
                <listeners>
                    <add name="MessageLogging"
                         type="System.Diagnostics.XmlWriterTraceListener"
                         initializeData="C:\MessageLogging.svclog" />
                </listeners>
            </source>
        </sources>
    </system.diagnostics>
    
    <system.serviceModel>
        <diagnostics>
            <messageLogging logEntireMessage="True"
                            logMalformedMessages="False"
                            logMessagesAtServiceLevel="True"
                            logMessagesAtTransportLevel="False"
                            maxMessagesToLog="10000"
                            maxSizeOfMessageToLog="10000" />
        </diagnostics>
    </system.serviceModel>
    

    Use the Service Trace Viewer Tool (SvcTraceViewer.exe) to view the resulting logs.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a WCF service which would like to support basicHttpBinding and webHttpBinding. When
I currently have a WCF Service Library which will be started through a Console
We currently have a situation where we have a WCF service which generates custom
I have a WCF service which will be hosted under IIS. Now I have
I have a WCF service which accepts a string as a paramter for one
I have a WCF service which works on my dev machine running IIS 7,
I have a WCF service which performs CRUD operation on my data model: Add,
I have a WCF service which references a 3rd party DLL. That DLL looks
Let's say I have a WCF service which has a method returning object Person.
Greetings, I have to following problem. I have a WCF Service which runs under

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.