You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/container-apps/log-streaming.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,15 +12,20 @@ ms.author: v-bcatherine
12
12
13
13
# View log streams in Azure Container Apps
14
14
15
-
While developing and troubleshooting your container app, it's important to see a container's logs in real-time. Container Apps lets you view a stream of your container app's [system logs](logging.md#system-logs) at the Container Apps environment level and at the app level. You can stream the [console logs](logging.md#container-console-logs) apps at the container level. Log streams are accessible though the Azure portal or the Azure CLI.
15
+
While developing and troubleshooting your container app, it's essential to see the [application logs](logging.md) for your container app in real time. Azure Container Apps lets you stream:
16
+
17
+
-[system logs](logging.md#system-logs) from the Container Apps environment and your container app.
18
+
- container [console logs](logging.md#container-console-logs) from your container app.
19
+
20
+
Log streams are accessible through the Azure portal or the Azure CLI.
16
21
17
22
## View log streams via the Azure portal
18
23
19
-
You can view system logs and application logs in the Azure portal. System logs are generated by the container app's runtime. Application logs are generated by your container app's application.
24
+
You can view system logs and console logs in the Azure portal. System logs are generated by the container app's runtime. Console logs are generated by your container app's application.
20
25
21
26
### Environment system log stream
22
27
23
-
To troubleshoot issues with in your container app environment, you can view the system log stream from your environment page. The log stream displays the system logs for the Container Apps service and the apps actively running in the environment:
28
+
To troubleshoot issues in your container app environment, you can view the system log stream from your environment page. The log stream displays the system logs for the Container Apps service and the apps actively running in the environment:
24
29
25
30
1. Go to your environment page in the Azure portal.
26
31
1. Select **Log stream** under the *Monitoring* section on the sidebar menu.
@@ -29,7 +34,7 @@ To troubleshoot issues with in your container app environment, you can view the
29
34
30
35
### Container app log stream
31
36
32
-
You can view a log stream of your container apps system or application logs from your container app page.
37
+
You can view a log stream of your container apps system or console logs from your container app page.
33
38
34
39
1. Go to your container app in the Azure portal.
35
40
1. Select **Log stream** under the *Monitoring* section on the sidebar menu.
@@ -58,7 +63,8 @@ You can stream the system or console logs for your container app. To stream the
58
63
59
64
#### View container app system log stream
60
65
61
-
This example displays the last 50 system log entries for the container app.
66
+
This example displays the last 50 system log entries from the container app.
67
+
Replace the \<placeholders\> with your container app's values.
62
68
63
69
# [Bash](#tab/bash)
64
70
@@ -82,7 +88,8 @@ az containerapp logs show `
82
88
83
89
---
84
90
85
-
This example displays a continuous live stream of system log entries for the container app.
91
+
This example displays a continuous live stream of system log entries from the container app.
92
+
Replace the \<placeholders\> with your container app's values.
86
93
87
94
# [Bash](#tab/bash)
88
95
@@ -196,7 +203,7 @@ az containerapp logs show `
196
203
197
204
Use `Ctrl-C` or `Cmd-C` to stop the live stream.
198
205
199
-
View the last 50 container console log entries with the `az containerapp logs show` command. Replace the \<placeholders\> with your container app's values.
206
+
View the last 50 console log entries with the `az containerapp logs show` command. Replace the \<placeholders\> with your container app's values.
200
207
201
208
202
209
# [Bash](#tab/bash)
@@ -230,7 +237,7 @@ az containerapp logs show `
230
237
231
238
### View environment system log stream
232
239
233
-
Use the following command to view the live system log stream from the Container Apps service.
240
+
Use the following command to view the live system log stream from the Container Apps environment. Replace the \<placeholders\> with your environment values.
234
241
235
242
# [Bash](#tab/bash)
236
243
@@ -255,7 +262,7 @@ az containerapp env logs show `
255
262
Use `Ctrl-C` or `Cmd-C` to stop the live stream.
256
263
257
264
258
-
This example displays the last 50 environment system log entries.
265
+
This example displays the last 50 environment system log entries. Replace the \<placeholders\> with your environment values.
259
266
260
267
# [Bash](#tab/bash)
261
268
@@ -278,4 +285,4 @@ az containerapp env logs show `
278
285
---
279
286
280
287
> [!div class="nextstepaction"]
281
-
> [View log streams from the Azure portal](log-streaming.md)
288
+
> [Log storage and monitoring options in Azure Container Apps](log-monitoring.md)
0 commit comments