Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

az functionapp log deployment

Manage function app deployment logs.

Commands

Name Description Type Status
az functionapp log deployment list

List deployment logs of the deployments associated with function app.

Core GA
az functionapp log deployment show

Show deployment logs of the latest deployment, or a specific deployment if deployment-id is specified.

Core GA

az functionapp log deployment list

List deployment logs of the deployments associated with function app.

az functionapp log deployment list --name
 --resource-group
 [--slot]

Examples

List the deployment logs

az functionapp log deployment list --name MyFunctionApp --resource-group MyResourceGroup

Required Parameters

--name -n

Name of the function app.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--slot -s

The name of the slot. Default to the productions slot if not specified.

az functionapp log deployment show

Show deployment logs of the latest deployment, or a specific deployment if deployment-id is specified.

az functionapp log deployment show --name
 --resource-group
 [--deployment-id]
 [--slot]

Examples

Show the deployment logs of the latest deployment

az functionapp log deployment show --name MyFunctionApp --resource-group MyResourceGroup

Show the deployment logs of a particular deployment

az functionapp log deployment show --name MyFunctionApp --resource-group MyResourceGroup --deployment-id MyDeploymentId

Required Parameters

--name -n

Name of the function app.

--resource-group -g

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

Optional Parameters

The following parameters are optional, but depending on the context, one or more might become required for the command to execute successfully.

--deployment-id

Deployment ID. If none specified, returns the deployment logs of the latest deployment.

--slot -s

The name of the slot. Default to the productions slot if not specified.


Feedback

Was this page helpful?