An open API service indexing awesome lists of open source software.

https://github.com/aws/aws-dotnet-trace-listener

A trace listener for System.Diagnostics that can be used to log events straight to Amazon DynamoDB.
https://github.com/aws/aws-dotnet-trace-listener

Last synced: 2 months ago
JSON representation

A trace listener for System.Diagnostics that can be used to log events straight to Amazon DynamoDB.

Awesome Lists containing this project

README

          

# 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][nuget-package] 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](http://blogs.aws.amazon.com/net/post/Tx16NZPGUZK6LDU/DynamoDBTraceListener) for more information on using the trace listener.

## Links

* [AWS Trace Listener NuGet package][nuget-package]
* [AWS .NET Developer Blog][dotnet-blog]
* [AWS SDK for .NET GitHub Repository][github-awssdk]
* [AWS SDK for .NET SDK][sdk-website]

[nuget-package]: https://www.nuget.org/packages/AWS.TraceListener/
[github-awssdk]: https://github.com/aws/aws-sdk-net
[sdk-website]: http://aws.amazon.com/sdkfornet
[dotnet-blog]: http://blogs.aws.amazon.com/net/