Skip to content

Commit 1e04f89

Browse files
authored
Update README.md for adding warning when using console as log option (#206)
* Update README.md * Update README.md
1 parent 4f354c1 commit 1e04f89

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -693,7 +693,7 @@ We support instrumenting ASP.NET Core web app on Lambda. Please follow the steps
693693

694694
### Logging (.NET)
695695

696-
The AWS X-Ray .NET SDK share the same logging mechanism as AWS .NET SDK. If the application had already configured logging for AWS .NET SDK, it should just work for AWS X-Ray .NET SDK.
696+
The AWS X-Ray .NET SDK share the same logging mechanism as [AWS .NET SDK](https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-other.html#config-setting-awslogging). If the application had already configured logging for AWS .NET SDK, it should just work for AWS X-Ray .NET SDK.
697697
The recommended way to configure an application is to use the <aws> element in the project’s `App.config` or `Web.config` file.
698698

699699
```xml
@@ -712,8 +712,9 @@ Other ways to configure logging is to edit the <appsetting> element in the `App.
712712

713713
### Logging (.NET Core)
714714

715-
Currently we support `log4net` logging and options provided in [LoggingOptions](https://docs.aws.amazon.com/sdkfornet/v3/apidocs/items/Amazon/TLoggingOptions.html). You should configure logging before initialization of `AWSXRayRecorder` instance or using any X-Ray methods.
716-
Following is the way to configure logging with X-Ray SDK:
715+
The AWS X-Ray .NET SDK share the same logging mechanism as [AWS .NET SDK](https://docs.aws.amazon.com/sdk-for-net/v3/developer-guide/net-dg-config-other.html#config-setting-awslogging). To configure logging for .NET Core application, pass one of these options to the `AWSXRayRecorder.RegisterLogger` method.
716+
717+
Following is the way to configure `log4net` with X-Ray SDK:
717718

718719
```csharp
719720
using Amazon;

0 commit comments

Comments
 (0)