Home

Awesome

AWS DynamoDB Trace Listener

The AWS DynamoDB Trace Listener allows System.Diagnostics.Trace calls to be written to Amazon DynamoDB.

Usage Information

The trace listener can be included in your project from the NuGet package. Once included the trace listener can be configured in your application's app.config or web.config. Here is an example configuration that writes all Trace.Write calls to DynamoDB.

<pre> &lt;system.diagnostics&gt; &lt;trace autoflush="true"&gt; &lt;listeners&gt; &lt;add name="dynamo" type="Amazon.TraceListener.DynamoDBTraceListener, AWS.TraceListener" Region="us-west-2" ExcludeAttributes="Callstack" HashKeyFormat="%ComputerName%-{EventType}-{ProcessId}" RangeKeyFormat="{Time}" /&gt; &lt;/listeners&gt; &lt;/trace&gt; &lt;/system.diagnostics&gt; </pre>

Go here for more information on using the trace listener.

Links