Skip to content

Commit 80b945f

Browse files
committed
changes to make acrolinx happy.
1 parent 9603dd0 commit 80b945f

File tree

2 files changed

+10
-17
lines changed

2 files changed

+10
-17
lines changed

articles/container-apps/log-streaming.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@ services: container-apps
55
author: cebundy
66
ms.service: container-apps
77
ms.topic: how-to
8-
ms.date: 02/16/2023
8+
ms.date: 03/24/2023
99
ms.author: v-bcatherine
1010
---
1111

1212
# View log streams in Azure Container Apps
1313

1414
While developing and troubleshooting your container app, it's essential to see the [logs](logging.md) for your container app in real time. Azure Container Apps lets you stream:
1515

16-
- [system logs](logging.md#system-logs) from the Container Apps environment and your container app.
16+
- [system logs](logging.md#system-logs) from the Container Apps environment and your container app.
1717
- container [console logs](logging.md#container-console-logs) from your container app.
1818

1919
Log streams are accessible through the Azure portal or the Azure CLI.
@@ -33,11 +33,11 @@ To troubleshoot issues in your container app environment, you can view the syste
3333

3434
### Container app log stream
3535

36-
You can view a log stream of your container app's system or console logs from your container app page.
36+
You can view a log stream of your container app's system or console logs from your container app page.
3737

3838
1. Go to your container app in the Azure portal.
3939
1. Select **Log stream** under the *Monitoring* section on the sidebar menu.
40-
1. To view the console log stream, select **Console**.
40+
1. To view the console log stream, select **Console**.
4141
1. If you have multiple revisions, replicas, or containers, you can select from the drop-down menus to choose a container. If your app has only one container, you can skip this step.
4242

4343
:::image type="content" source="media/observability/screenshot-log-stream-console-app.png" alt-text="Screenshot of Container Apps console log stream from app page.":::
@@ -48,7 +48,7 @@ You can view a log stream of your container app's system or console logs from yo
4848

4949
## View log streams via the Azure CLI
5050

51-
You can view your container app's log streams from the Azure CLI with the `az containerapp logs show` command or your container app's environment system log stream with the `az containerapp env logs show` command.
51+
You can view your container app's log streams from the Azure CLI with the `az containerapp logs show` command or your container app's environment system log stream with the `az containerapp env logs show` command.
5252

5353
Control the log stream with the following arguments:
5454

@@ -59,7 +59,6 @@ Control the log stream with the following arguments:
5959

6060
You can stream the system or console logs for your container app. To stream the container app system logs, use the `--type` argument with the value `system`. To stream the container console logs, use the `--type` argument with the value `console`. The default is `console`.
6161

62-
6362
#### View container app system log stream
6463

6564
This example uses the `--tail` argument to display the last 50 system log messages from the container app. Replace the \<placeholders\> with your container app's values.
@@ -202,7 +201,6 @@ Use `Ctrl-C` or `Cmd-C` to stop the live stream.
202201

203202
View the last 50 console log messages using the `az containerapp logs show` command with the `--tail` argument. Replace the \<placeholders\> with your container app's values.
204203

205-
206204
# [Bash](#tab/bash)
207205

208206
```azurecli
@@ -231,7 +229,6 @@ az containerapp logs show `
231229

232230
---
233231

234-
235232
### View environment system log stream
236233

237234
Use the following command with the `--follow` argument to view the live system log stream from the Container Apps environment. Replace the \<placeholders\> with your environment values.
@@ -258,7 +255,6 @@ az containerapp env logs show `
258255

259256
Use `Ctrl-C` or `Cmd-C` to stop the live stream.
260257

261-
262258
This example uses the `--tail` argument to display the last 50 environment system log messages. Replace the \<placeholders\> with your environment values.
263259

264260
# [Bash](#tab/bash)

articles/container-apps/logging.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,16 @@ ms.author: v-bcatherine
1414

1515
Azure Container Apps provides two types of application logging categories:
1616

17-
- [Container console logs](#container-console-logs): Log streams from your container console.
18-
- [System logs](#system-logs): Logs generated by the Azure Container Apps service.
19-
17+
- [Container console logs](#container-console-logs): Log streams from your container console.
18+
- [System logs](#system-logs): Logs generated by the Azure Container Apps service.
2019

2120
## Container console Logs
2221

23-
Container console logs are written by your application to the `stdout` and `stderr` output streams of the application's container. By implementing detailed logging in your application, you'll be able to troubleshoot issues and monitor the health of your application.
24-
25-
You can view your container console logs through [Logs streaming](log-streaming.md). For other options to store and monitor your log data, see [Logging options](log-options.md).
22+
Container Apps captures the `stdout` and `stderr` output streams from your application containers and displays them as console logs. When you implement logging in your application, you can view the log data through the Azure portal or CLI. For more information, see [Logging options](log-options.md).
2623

2724
## System logs
2825

29-
System logs are generated by the Azure Container Apps to inform you of the status of service level events. Log messages include the following information:
26+
Container Apps generates system logs to inform you of the status of service level events. Log messages include the following information:
3027

3128
- Successfully created dapr component
3229
- Successfully updated dapr component
@@ -37,7 +34,7 @@ System logs are generated by the Azure Container Apps to inform you of the statu
3734
- Auth enabled on app
3835
- Creating authentication config
3936
- Auth config created successfully
40-
- Setting a traffic weight
37+
- Setting a traffic weight
4138
- Creating a new revision:
4239
- Successfully provisioned revision
4340
- Deactivating Old revisions

0 commit comments

Comments
 (0)