Skip to content

Commit 448a602

Browse files
committed
revision progress
1 parent 1672681 commit 448a602

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

articles/azure-app-configuration/enable-dynamic-configuration-aspnet-core.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -232,17 +232,17 @@ The configuration refresh is triggered by the incoming requests to your web app.
232232

233233
## Troubleshooting
234234

235-
You can use refresh logs to identify errors and debug your application.
235+
Logs are output upon refresh and contain detailed information on changes to key-values in your App Configuration store and your application, as well as any issues that occur. This will allow you to monitor configuration refreshes as they happen.
236236

237-
- Logging is enabled automatically as long as `services.AddAzureAppConfiguration()` is invoked in your `ConfigureServices` method. No code changes are needed. 
237+
- A default `ILoggerFactory` is added automatically when `services.AddAzureAppConfiguration()` is invoked in your `ConfigureServices` method. The App Configuration provider uses this `ILoggerFactory` to create an instance of `ILogger`, which outputs these logs. No code changes are needed.
238238
- Logs are output to the console at different log levels.
239239

240240
| Log Level | Description |
241241
|---|---|
242-
| Debug | Updates to key-values in the App Configuration store. |
243-
| Information | Updates to values stored in the configuration. |
244-
| Warning | Indicates errors that occurred during refresh. |
245-
- The logging category is `Microsoft.Extensions.Configuration.AzureAppConfiguration.Refresh`.
242+
| Debug | This log level is used for monitoring changes to key-values in your App Configuration store. Logs include the key and label of key-values updated in the App Configuration store. Depending on the content type, logs may also include the App Configuration store endpoint requested and whether the key-value was modified or deleted. |
243+
| Information | This log level is used for monitoring changes to your app's configuration. Logs include the keys of settings in the configuration that have been updated. |
244+
| Warning | This log level is used for identifying issues that occurred during refresh. Logs include the exception name and a message containing a brief description of the issue. |
245+
- The logging category is `Microsoft.Extensions.Configuration.AzureAppConfiguration.Refresh`, which appears before each log.
246246

247247
For more information on how to utilize these logs, follow the instructions for [logging in .NET Core and ASP.NET Core](/aspnet/core/fundamentals/logging). Logs can alternatively be enabled and configured through [Azure SDK logging](/dotnet/azure/sdk/logging).
248248

articles/azure-app-configuration/enable-dynamic-configuration-dotnet-core.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -142,16 +142,16 @@ Calling the `ConfigureRefresh` method alone won't cause the configuration to ref
142142

143143
## Troubleshooting
144144

145-
You can use refresh logs to identify errors and debug your application. For information on how to enable these logs, follow the instructions for [Azure SDK logging](/dotnet/azure/sdk/logging).
145+
Logs are output upon refresh and contain detailed information on changes to key-values in your App Configuration store and your application, as well as any issues that occur. This will allow you to monitor configuration refreshes as they happen.
146146

147147
- Logs are output to the console at different log levels.
148148

149149
| Log Level | Description |
150150
|---|---|
151-
| Debug | Updates to key-values in the App Configuration store. |
152-
| Information | Updates to values stored in the configuration. |
153-
| Warning | Indicates errors that occurred during refresh. |
154-
- The logging category is `Microsoft.Extensions.Configuration.AzureAppConfiguration.Refresh`.
151+
| Debug | This log level is used for monitoring changes to key-values in your App Configuration store. Logs include the key and label of key-values updated in the App Configuration store. Depending on the content type, logs may also include the App Configuration store endpoint requested and whether the key-value was modified or deleted. |
152+
| Information | This log level is used for monitoring changes to your app's configuration. Logs include the keys of settings in the configuration that have been updated. |
153+
| Warning | This log level is used for identifying issues that occurred during refresh. Logs include the exception name and a message containing a brief description of the issue. |
154+
- The logging category is `Microsoft-Extensions-Configuration-AzureAppConfiguration-Refresh`.
155155

156156
## Clean up resources
157157

0 commit comments

Comments
 (0)