Skip to content

Commit aac9bf6

Browse files
committed
fix syntax
1 parent 6854b61 commit aac9bf6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/spring-cloud/spring-cloud-howto-log-streaming.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.date: 01/14/2019
99
---
1010

1111
# Stream Azure Spring Cloud app logs in real-time
12-
Azure Spring Cloud enables log streaming in Azure CLI to permit you get real-time application console logs for troubleshooting. You also could [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md).
12+
Azure Spring Cloud enables log streaming in Azure CLI to get real-time application console logs for troubleshooting. You can also [Analyze logs and metrics with diagnostics settings](./diagnostic-services.md).
1313

1414
## Prerequisites
1515

@@ -26,7 +26,7 @@ az configure --defaults spring-cloud=<service instance name>
2626
In following examples, the resource group and service name will be omitted in the commands.
2727

2828
### Tail log for app with single instance
29-
If an app named auth-service has only one instance, you can view the log of the app instance with following command:
29+
If an app named auth-service has only one instance, you can view the log of the app instance with the following command:
3030
```
3131
az spring-cloud app log tail -n auth-service
3232
```
@@ -42,7 +42,7 @@ This will return logs:
4242
```
4343

4444
### Tail log for app with multiple instances
45-
If multiple instances exist for the app named `auth-service`, you can view the instance log by using the `-i/--instance` option. For example, you can stream the log of some instance of one app by specify the app name and instance name.
45+
If multiple instances exist for the app named `auth-service`, you can view the instance log by using the `-i/--instance` option. For example, you can stream the log of an instance of one app by specifying the app name and instance name:
4646

4747
```
4848
az spring-cloud app log tail -n auth-service -i auth-service-default-12-75cc4577fc-pw7hb
@@ -54,7 +54,7 @@ You can also get the app instances from the Azure portal.
5454
1. App instances will be displayed.
5555

5656
### Continuously stream new logs
57-
By default, ‘az spring-cloud ap log tail’ prints nly existing logs streamed to app console and then exits. If you want to stream new logs, add -f (--follow):
57+
By default, ‘az spring-cloud ap log tail’ prints only existing logs streamed to app console and then exits. If you want to stream new logs, add -f (--follow):
5858

5959
```
6060
az spring-cloud app log tail -n auth-service -f

0 commit comments

Comments
 (0)