Giter Club home page Giter Club logo

svclogviewer's Introduction

SvclogViewer

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.

Installation

Binaries are available via a ClickOnce deployment on the following URL: http://martijn.tikkie.net/apps/SvclogViewer/SvclogViewer.application

Main features

screenshot

  • 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...

Example web.config configuration

<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.

Author

Martijn Stolk (www.netripper.nl)

License

Creative Commons Attribution 3.0 Unported (CC BY 3.0) http://creativecommons.org/licenses/by/3.0/

svclogviewer's People

Contributors

martijns avatar

Watchers

Robert Snyder avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.