az spring-cloud app log

Commands to tail app instances logs with multiple options. If the app has only one instance, the instance name is optional.

Commands

az spring-cloud app log tail

Show logs of an app instance, logs will be streamed when setting '-f/--follow'.

az spring-cloud app log tail

Show logs of an app instance, logs will be streamed when setting '-f/--follow'.

az spring-cloud app log tail --name
                             --resource-group
                             --service
                             [--follow]
                             [--instance]
                             [--limit]
                             [--lines]
                             [--since]

Required Parameters

--name -n

Name of app.

--resource-group -g

Name of resource group. You can configure the default group using az configure --defaults group=<name>.

--service -s

Name of Azure Spring Cloud, you can configure the default service using az configure --defaults spring-cloud=.

Optional Parameters

--follow -f

Specify if the logs should be streamed.

--instance -i

Name of an existing instance of the deployment.

--limit

Maximum kilobytes of logs to return. Ceiling number is 2048.

default value: 2048
--lines

Number of lines to show. Maximum is 10000.

default value: 50
--since

Only return logs newer than a relative duration like 5s, 2m, or 1h. Maximum is 1h.