how to reduce xmltracing verbosity

Topics: Logging Application Block
Nov 1, 2008 at 5:37 PM
how can avoid seeing this frag,ment in every log event
- <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
  <EventID>1</EventID>
  <Type>3</Type>
  <SubType Name="Information">0</SubType>
  <Level>8</Level>
  <TimeCreated SystemTime="2008-11-01T16:32:49.0321166Z" />
  <Source Name="General" />
  <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
  <Execution ProcessName="ConsoleApplication3" ProcessID="2456" ThreadID="1" />
  <Channel />
  <Computer>RAJIV-PC</Computer>
  </System>

Nov 3, 2008 at 8:06 AM
Hi,

You can use the Flat File TraceListenser instead. The Flat file trace listener writes only the message with the specified template from the formatter.


Hope this helps.

- Valiant