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.
- Host: GitHub
- URL: https://github.com/aws/aws-dotnet-trace-listener
- Owner: aws
- License: apache-2.0
- Archived: true
- Created: 2015-06-08T04:36:46.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-14T16:50:43.000Z (over 2 years ago)
- Last Synced: 2025-10-20T03:39:30.990Z (3 months ago)
- Language: C#
- Size: 50.8 KB
- Stars: 15
- Watchers: 31
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: License.txt
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- fucking-awesome-aws - aws-dotnet-trace-listener - A trace listener for System.Diagnostics that can be used to log events. (Open Source Repos / DynamoDB)
- awesome-aws - aws-dotnet-trace-listener - A trace listener for System.Diagnostics that can be used to log events. (Open Source Repos / DynamoDB)
- awesome-aws - aws-dotnet-trace-listener - A trace listener for System.Diagnostics that can be used to log events. (Open Source Repos / DynamoDB)
- awesome-aws - aws-dotnet-trace-listener - A trace listener for System.Diagnostics that can be used to log events. (Open Source Repos / DynamoDB)
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/