Skip to content

Commit 9c533e8

Browse files
authored
Merge pull request #178914 from davidsmatlak/ds-updates-debug-log
Updates ARM debug logging doc
2 parents f6fbb06 + 62081e5 commit 9c533e8

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

articles/azure-resource-manager/troubleshooting/enable-debug-logging.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Enable debug logging
33
description: Describes how to enable debug logging to troubleshoot Azure resources deployed with Azure Resource Manager templates (ARM templates) or Bicep files.
44
tags: top-support-issue
55
ms.topic: troubleshooting
6-
ms.date: 11/02/2021
6+
ms.date: 11/05/2021
77
ms.custom: devx-track-azurepowershell
88
---
99

@@ -39,21 +39,19 @@ Get-AzResourceGroupDeploymentOperation `
3939
-ResourceGroupName examplegroup
4040
```
4141

42-
You can specify a property. For example, the `StatusMessage` property outputs the same data as the Azure CLI `response` property.
42+
You can specify a property, like `StatusMessage` or `StatusCode` to filter the output.
4343

4444
```azurepowershell
4545
(Get-AzResourceGroupDeploymentOperation `
4646
-DeploymentName exampledeployment `
4747
-ResourceGroupName examplegroup).StatusMessage
4848
```
4949

50-
Use Azure CLI to get the debug `request` and `response` information. In Az module versions 4.8 and later, `Get-AzResourceGroupDeploymentOperation` doesn't include those properties in output. For a list of available properties, see [outputs](/powershell/module/az.resources/get-azresourcegroupdeploymentoperation#outputs).
51-
5250
# [Azure CLI](#tab/azure-cli)
5351

5452
You can't enable debug logging with Azure CLI but you can retrieve debug logging data.
5553

56-
Get the deployment operations with the following command:
54+
Get the deployment operations with the [az deployment operation group list](/cli/azure/deployment/operation/group#az_deployment_operation_group_list) command:
5755

5856
```azurecli
5957
az deployment operation group list \

0 commit comments

Comments
 (0)