An high-performance alternative for viewing WCF messages with SvcTraceViewer.exe.
Cannot be used for other types of messages besides WCF messages. Note that this only reads the "MessageLogTraceRecord" elements from the logfile. An example configuration can be found below.
Binaries are available via a ClickOnce deployment on the following URL: https://martijn.tikkie.net/apps/SvclogViewer/SvclogViewer.application
- High-performance reading of the .svclog file
- Quickly reload the current .svclog file
- Drag and drop your .svclog file into the application to open it
- Can set itself as default handler for .svclog files
- Filter messages for certain content (case-sensitive)
- Auto-indent the XML content (has a minor performance impact)
- Use syntax coloring (has a bigger performance impact)
- Save request as...
<configuration>
<system.diagnostics>
<sources>
<source name="System.ServiceModel" switchValue="Error, ActivityTracing">
<listeners>
<add name="messagelog" />
</listeners>
</source>
<source name="System.ServiceModel.MessageLogging">
<listeners>
<add name="messagelog" />
</listeners>
</source>
</sources>
<sharedListeners>
<add name="messagelog" type="System.Diagnostics.XmlWriterTraceListener" initializeData="C:\MyLogDir\MyMessageLog.svclog" traceOutputOptions="DateTime" />
</sharedListeners>
<trace autoflush="true" />
</system.diagnostics>
<system.serviceModel>
<diagnostics>
<messageLogging logEntireMessage="true" logMalformedMessages="true" logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" maxSizeOfMessageToLog="40000000" maxMessagesToLog="-1"/>
</diagnostics>
</system.serviceModel>
</configuration>
Merge and adjust your configuration appropriately.
Martijn Stolk (www.netripper.nl)
Creative Commons Attribution 3.0 Unported (CC BY 3.0) https://creativecommons.org/licenses/by/3.0/