Skip to content

Commit 682bd93

Browse files
committed
edits
1 parent bebc739 commit 682bd93

File tree

3 files changed

+16
-16
lines changed

3 files changed

+16
-16
lines changed

articles/spring-apps/enterprise/how-to-asa-job-log-streaming.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ ms.custom: devx-track-java, devx-track-extended-java, devx-track-azurecli
1919
This article describes how to use the Azure CLI to get real-time logs of jobs for troubleshooting. You can also use diagnostics settings to analyze diagnostics data in Azure Spring Apps. For more information, see [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md).
2020

2121
> [!NOTE]
22-
> - For streaming logs of applications in Azure Spring Apps, see [Stream Azure Spring Apps application console logs in real time](./how-to-log-streaming.md).
23-
> - For streaming logs of managed components in Azure Spring Apps, see [Stream Azure Spring Apps managed component logs in real time](./how-to-managed-component-log-streaming.md).
22+
> - For more information on streaming logs of applications in Azure Spring Apps, see [Stream Azure Spring Apps application console logs in real time](./how-to-log-streaming.md).
23+
> - For more information on streaming logs of managed components in Azure Spring Apps, see [Stream Azure Spring Apps managed component logs in real time](./how-to-managed-component-log-streaming.md).
2424
2525
## Prerequisites
2626

2727
- [Azure CLI](/cli/azure/install-azure-cli) with the Azure Spring Apps extension, version 1.24.0 or higher. You can install the extension by using the following command: `az extension add --name spring`.
2828

2929
## Assign an Azure role
3030

31-
To stream logs of jobs, you must have the relevant Azure roles assigned to you. The following table lists the required roles and the operations for which these roles are granted permissions:
31+
To stream logs of jobs, you must have the relevant Azure roles assigned to you. The following table lists the required role and the operation for which this role is granted permission:
3232

3333
| Required role | Operations |
3434
|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------|
@@ -44,11 +44,11 @@ Use the following steps to assign an Azure role using the Azure portal:
4444

4545
1. In the navigation pane, select **Access Control (IAM)**.
4646

47-
1. On the **Access Control (IAM)** page, select **Add** and then select **Add role assignment**.
47+
1. On the **Access Control (IAM)** page, select **Add**, and then select **Add role assignment**.
4848

4949
:::image type="content" source="media/how-to-managed-component-log-streaming/add-role-assignment.png" alt-text="Screenshot of the Azure portal that shows the Access Control (IAM) page with the Add role assignment option highlighted." lightbox="media/how-to-managed-component-log-streaming/add-role-assignment.png":::
5050

51-
1. On the **Add role assignment** page, in the **Name** list, search for and select the target role and then select **Next**.
51+
1. On the **Add role assignment** page, in the **Name** list, search for and select the target role, and then select **Next**.
5252

5353
:::image type="content" source="media/how-to-asa-job-log-streaming/asa-job-log-reader-role.png" alt-text="Screenshot of the Azure portal that shows the Add role assignment page with the Azure Spring Apps Job Log Reader Role name highlighted." lightbox="media/how-to-asa-job-log-streaming/asa-job-log-reader-role.png":::
5454

@@ -71,7 +71,7 @@ Use the following command to assign an Azure role:
7171

7272
## List all instances in a job execution
7373

74-
For a job, every time it's triggered, a new job execution will be created. And up to your parallelism setting of your job, several instances will execute in parallel. Use the following command to list all instances in a job execution:
74+
Use the following command to list all instances in a job execution:
7575

7676
```azurecli
7777
az spring job execution instance list \
@@ -87,7 +87,7 @@ This section provides examples of using the Azure CLI to produce tail logs.
8787

8888
### View tail logs for a specific instance
8989

90-
To view the tail logs for a specific instance, use the `az spring job logs` command with the `-i/--instance` argument.
90+
To view the tail logs for a specific instance, use the `az spring job logs` command with the `-i/--instance` argument, as shown in the following example:
9191

9292
```azurecli
9393
az spring job logs \
@@ -100,7 +100,7 @@ az spring job logs \
100100

101101
### View tail logs for all instances in one command
102102

103-
To view the tail logs for all instances, use the `--all-instances` argument, as shown in the following command. The instance name is the prefix of each log line. When there are multiple instances, logs are printed in batch for each instance, so logs of one instance aren't interleaved with the logs of another instance.
103+
To view the tail logs for all instances, use the `--all-instances` argument, as shown in the following command. The instance name is the prefix of each log line. When there are multiple instances, logs are printed in batch for each instance. This way, logs of one instance aren't interleaved with the logs of another instance.
104104

105105
```azurecli
106106
az spring job logs \
@@ -145,7 +145,7 @@ az spring job logs \
145145
--follow
146146
```
147147

148-
When you stream logs for multiple instances in a job execution, the logs of one instance interleave with logs of others.
148+
When you stream logs for multiple instances in a job execution, the logs of one instance interleave with the logs of others.
149149

150150
## Stream logs in a virtual network injection instance
151151

@@ -170,7 +170,7 @@ Use the following steps to enable a log streaming endpoint on the public network
170170

171171
### [Azure CLI](#tab/azure-CLI)
172172

173-
Use the following command to enable the log stream public endpoint.
173+
Use the following command to enable the log stream public endpoint:
174174

175175
```azurecli
176176
az spring update \

articles/spring-apps/enterprise/how-to-log-streaming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ ms.custom: devx-track-java, devx-track-extended-java, devx-track-azurecli
2121
This article describes how to enable log streaming in the Azure CLI to get real-time application console logs for troubleshooting. You can also use diagnostics settings to analyze diagnostics data in Azure Spring Apps. For more information, see [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md).
2222

2323
> [!NOTE]
24-
> - For streaming logs of jobs in Azure Spring Apps, see [Stream Azure Spring Apps job logs in real time](./how-to-asa-job-log-streaming.md).
25-
> - For streaming logs of managed components in Azure Spring Apps, see [Stream Azure Spring Apps managed component logs in real time](./how-to-managed-component-log-streaming.md).
24+
> - For more information on streaming logs of jobs in Azure Spring Apps, see [Stream Azure Spring Apps job logs in real time (Preview)](./how-to-asa-job-log-streaming.md).
25+
> - For more information on streaming logs of managed components in Azure Spring Apps, see [Stream Azure Spring Apps managed component logs in real time](./how-to-managed-component-log-streaming.md).
2626
2727
## Prerequisites
2828

@@ -198,5 +198,5 @@ The following table shows an example of a basic rule that we recommend. You can
198198

199199
- [Quickstart: Monitoring Azure Spring Apps apps with logs, metrics, and tracing](../basic-standard/quickstart-logs-metrics-tracing.md)
200200
- [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md)
201-
- [Stream Azure Spring Apps job logs in real time](./how-to-asa-job-log-streaming.md)
201+
- [Stream Azure Spring Apps job logs in real time (Preview)](./how-to-asa-job-log-streaming.md)
202202
- [Stream Azure Spring Apps managed component logs in real time](./how-to-managed-component-log-streaming.md)

articles/spring-apps/enterprise/how-to-managed-component-log-streaming.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ ms.custom: devx-track-java, devx-track-extended-java, devx-track-azurecli
1919
This article describes how to use the Azure CLI to get real-time logs of managed components for troubleshooting. You can also use diagnostics settings to analyze diagnostics data in Azure Spring Apps. For more information, see [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md).
2020

2121
> [!NOTE]
22-
> - For streaming logs of applications in Azure Spring Apps, see [Stream Azure Spring Apps application console logs in real time](./how-to-log-streaming.md).
23-
> - For streaming logs of jobs in Azure Spring Apps, see [Stream Azure Spring Apps job logs in real time](./how-to-asa-job-log-streaming.md).
22+
> - For more information on streaming logs of applications in Azure Spring Apps, see [Stream Azure Spring Apps application console logs in real time](./how-to-log-streaming.md).
23+
> - For more information on streaming logs of jobs in Azure Spring Apps, see [Stream Azure Spring Apps job logs in real time (Preview)](./how-to-asa-job-log-streaming.md).
2424
2525
## Prerequisites
2626

@@ -327,4 +327,4 @@ The following table shows an example of a basic rule that we recommend. You can
327327
- [Troubleshoot VMware Spring Cloud Gateway](./how-to-troubleshoot-enterprise-spring-cloud-gateway.md)
328328
- [Use Application Configuration Service](./how-to-enterprise-application-configuration-service.md)
329329
- [Stream Azure Spring Apps application console logs in real time](./how-to-log-streaming.md)
330-
- [Stream Azure Spring Apps job logs in real time](./how-to-asa-job-log-streaming.md)
330+
- [Stream Azure Spring Apps job logs in real time (Preview)](./how-to-asa-job-log-streaming.md)

0 commit comments

Comments
 (0)