DSS Message Capturing and Logging

The Decentralized Software Services (DSS) runtime can be configured to serialize messages between services and store them in log files named after the Uniform Resource Identifier (URI) of the service instance sending or receiving each messages. To control the level of message capturing and logging, open the application configuration file and look for the section named appSettings and identify the line containing a key named Microsoft.Dss.Services.Forwarders.MessageCapture:

 <appSettings>
  <add key="Microsoft.Dss.Services.Forwarders.MessageCapture" value=""/>
 </appSettings>

The available values for this option are:

CaptureInbound

Using the CaptureInbound value, all messages received by a service, are serialized to XML, and saved to disk.

  <add key="Microsoft.Dss.Services.Forwarders.MessageCapture" value="CaptureInbound"/>

CaptureOutbound

Using the CaptureOutbound value, all messages sent by a service are serialized to XML, and saved to disk.

  <add key="Microsoft.Dss.Services.Forwarders.MessageCapture" value="CaptureOutbound"/>

CaptureInboundOutbound


Using the CaptureInboundOutbound value, all messages received or sent by a service are serialized to XML, and saved to disk.
  <add key="Microsoft.Dss.Services.Forwarders.MessageCapture" value="CaptureInboundOutbound"/>

Log files are placed in the store\logs directory and can be accessed while the DSS node is running. Services that are set up to have a fixed URI, like the DSS Directory Service, will always use the same log file. Services that are set up to use different URIs for each instance will use different log files located in a directory named after the service prefix.

DSS User Guide: DSS Application Configuration File

 

 

© 2009 Microsoft Corporation. All Rights Reserved.

Page view tracker