Skip to content

Commit bc08fd6

Browse files
committed
Review changes
1 parent d05cbd7 commit bc08fd6

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The log streaming feature makes application logs available instantly using CLI w
1414

1515
## Prerequisites
1616

17-
* Install the [Azure CLI extension](./spring-cloud-quickstart-launch-app-cli#install-the-azure-cli-extension)
17+
* Install minimum version 2.0.75 of the [Azure CLI extension](./spring-cloud-quickstart-launch-app-cli#install-the-azure-cli-extension)
1818
* Launch [Spring Cloud app](./spring-cloud-quickstart-launch-app-maven.md)
1919

2020
## Use CLI to tail logs
@@ -56,7 +56,13 @@ If multiple instances exist for the app named `auth-service`, you can view the i
5656
```
5757
az spring-cloud app log tail -n auth-service -i auth-service-default-12-75cc4577fc-pw7hb
5858
```
59-
### Follow log for app
59+
You can get the app instance name from the Azure portal.
60+
1. Navigate to your Resource Group and select your Spring Cloud service.
61+
1. From the Spring Cloud service overview select **Apps** in the left navigation pane.
62+
1. Select your app, and then click **App Instances** in the left navigation pane.
63+
1. App instances will be displayed.
64+
65+
### Follow switch to track new logs
6066
By default, CLI will only print the existing log to console without following new logs. If you need to track the new logs, use `-f(--follow)` to track the new logs:
6167
```
6268
az spring-cloud app log tail -n auth-service -f

0 commit comments

Comments
 (0)