Skip to content
A trace listener for System.Diagnostics that can be used to log events straight to Amazon DynamoDB.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
SampleTraceListenerUsage
src
.gitignore
AWS.TraceListener.nuspec
CODE_OF_CONDUCT.md
CONTRIBUTING.md
License.txt
README.md

README.md

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.

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

Go here for more information on using the trace listener.

Links

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.