Can we apply filters to System.Net WCF tracing log?

I need to filter WCF System.Net trace log. Can we apply XPath filters to System.Net source, the way we apply to messageLogging?

My config file system.diagnostics section is as follows:

      <source tracemode="protocolonly" name="System.Net" switchValue="Verbose">
          <clear />
          <add name="textLogger">
            <filter type="" />
      <add name="textLogger"
        <filter type="System.Diagnostics.EventTypeFilter" initializeData="Verbose"/>
    <trace autoflush="true" indentsize="4" />


I was able to fix this issue. I used circular buffer trace listener project provided by Microsoft. I edited project to log data which is required by me. I have added following if condition in the TraceEvent() of CircularTraceListener class.

if (eventType == TraceEventType.Verbose && message.Contains("requiredData"))
                 base.TraceEvent(eventCache, source, eventType, id, message);

Need Your Help

Cuda::Entry function uses too much local data

cuda tesla

I am trying to run one algorithm for Polygon Intersection on Tesla C2075.But when I try to compile this algorithm, the compiler is giving me error :"Entry Function 'Polygon_Intersection'uses too much

Alphabetizing Content List with LocalStorage

javascript html5 return local-storage

I'm working on an update to one of my apps which allows the user to add multiple new lists and alphabetize them.