Skip to content

Commit 28b884d

Browse files
Apply suggestions from code review
1 parent 99b3f34 commit 28b884d

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

articles/container-apps/log-options.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Use these steps to configure the logging options for your environment in the Azu
4141

4242
1. Browse to your Container Apps environment in the portal.
4343

44-
1. Select *Monitoring* > *Logging options*.
44+
1. Select *Monitoring* > **Logging options**.
4545

4646
1. You can choose from the following **Logs Destination** options:
4747
- **Azure Log Analytics**: With this option, you select a Log Analytics workspace to store your log data. Your logs can be viewed through Log Analytics queries. To learn more about Log Analytics, see [Azure Monitor Log Analytics](log-monitoring.md).
@@ -60,15 +60,15 @@ Use these steps to configure the diagnostic settings for your environment:
6060

6161
1. Browse to your environment in the portal.
6262

63-
1. Select *Monitoring* > *Diagnostic settings*. If you've just set your environment's logs destination to **Azure Monitor**, you might need to refresh the page for this configuration item to appear.
63+
1. Select *Monitoring* > **Diagnostic settings**. If you've just set your environment's logs destination to **Azure Monitor**, you might need to refresh the page for this configuration item to appear.
6464

6565
Destination details are saved as *diagnostic settings*. You can create up to five diagnostic settings for your environment. You can configure different log categories for each diagnostic setting. For example, create one diagnostic setting to send the system logs category to one destination, and another to send the container console logs category to another destination.
6666

6767
To create a new *diagnostic setting*:
6868

6969
1. Select **Add diagnostic setting**.
7070

71-
1. In **Diagnostic setting name**, enter a name for your diagnostic setting.
71+
1. In *Diagnostic setting name*, enter a name for your diagnostic setting.
7272

7373
1. Select the log **Category groups** or **Categories** you want to send to this destination. You can select one or more categories.
7474

@@ -90,7 +90,7 @@ Use these steps to configure the diagnostic settings for your container app:
9090

9191
1. Browse to your container app in the portal.
9292

93-
1. Select *Monitoring* > *Diagnostic settings*. If you've just set your container app environment's logs destination to **Azure Monitor**, you might need to refresh the page for this configuration item to appear.
93+
1. Select *Monitoring* > **Diagnostic settings**. If you've just set your container app environment's logs destination to **Azure Monitor**, you might need to refresh the page for this configuration item to appear.
9494

9595
1. Select **Add diagnostic setting**.
9696

@@ -153,11 +153,11 @@ To create diagnostic settings at the environment level, run the following comman
153153

154154
```azurecli
155155
az monitor diagnostic-settings create \
156-
--name "AllMetricsToLogAnalytics" \
157-
--resource <ENVIRONMENT_ID> \
158-
--logs '[{"categoryGroup":"allLogs","enabled":true}]' `
159-
--metrics '[{"category":"AllMetrics","enabled":true}]' \
160-
--workspace <LOG_ANALYTICS_RESOURCE_ID>
156+
--name "AllMetricsToLogAnalytics" \
157+
--resource <ENVIRONMENT_ID> \
158+
--logs '[{"categoryGroup":"allLogs","enabled":true}]' \
159+
--metrics '[{"category":"AllMetrics","enabled":true}]' \
160+
--workspace <LOG_ANALYTICS_RESOURCE_ID>
161161
```
162162

163163
Ensure there are no spaces in the JSON values provided to the `--logs` and `--metrics` parameters.

0 commit comments

Comments
 (0)