--- title: azdata bdc debug reference titleSuffix: SQL Server big data clusters description: Reference article for azdata bdc debug commands. author: MikeRayMSFT ms.author: mikeray ms.reviewer: mihaelab ms.date: 11/04/2019 ms.topic: reference ms.prod: sql ms.technology: big-data-cluster --- # azdata bdc debug [!INCLUDE[tsql-appliesto-ssver15-xxxx-xxxx-xxx](../includes/tsql-appliesto-ssver15-xxxx-xxxx-xxx.md)] The following article provides reference for the `bdc debug` commands in the `azdata` tool. For more information about other `azdata` commands, see [azdata reference](reference-azdata.md) ## Commands | | | | --- | --- | [azdata bdc debug copy-logs](#azdata-bdc-debug-copy-logs) | Copy logs. [azdata bdc debug dump](#azdata-bdc-debug-dump) | Trigger logging dump. ## azdata bdc debug copy-logs Copy the debug logs from the Big Data Cluster - Kubernetes configuration is required on your system. ```bash azdata bdc debug copy-logs --namespace -n [--container -c] [--target-folder -d] [--pod -p] [--timeout -t] [--skip-compress -sc] [--exclude-dumps -ed] ``` ### Required Parameters #### `--namespace -n` Big data cluster name, used for kubernetes namespace. ### Optional Parameters #### `--container -c` Copy the logs for the containers with similar name, Optional, by default copies logs for all containers. Cannot be specified multiple times. If specified multiple times, last one will be used #### `--target-folder -d` Target folder path to copy logs to. Optional, by default creates the result in the local folder. Cannot be specified multiple times. If specified multiple times, last one will be used #### `--pod -p` Copy the logs for the pods with similar name. Optional, by default copies logs for all pods. Cannot be specified multiple times. If specified multiple times, last one will be used #### `--timeout -t` The number of seconds to wait for the command to complete. The default value is 0 which is unlimited #### `--skip-compress -sc` Whether or not to skip compressing the result folder. The default value is False which compresses the result folder. #### `--exclude-dumps -ed` Whether or not to exclude dumps from result folder. The default value is False which includes dumps. ### Global Arguments #### `--debug` Increase logging verbosity to show all debug logs. #### `--help -h` Show this help message and exit. #### `--output -o` Output format. Allowed values: json, jsonc, table, tsv. Default: json. #### `--query -q` JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples. #### `--verbose` Increase logging verbosity. Use --debug for full debug logs. ## azdata bdc debug dump Trigger logging dump and copy it out from container - Kubernetes configuration is required on your system. ```bash azdata bdc debug dump --namespace -n --container -c [--target-folder -d] ``` ### Required Parameters #### `--namespace -n` Big data cluster name, used for kubernetes namespace. #### `--container -c` Copy the logs for the containers with similar name, Optional, by default copies logs for all containers. Cannot be specified multiple times. If specified multiple times, last one will be used ### Optional Parameters #### `--target-folder -d` Target folder path to copy logs to. Optional, by default creates the result in the local folder. Cannot be specified multiple times. If specified multiple times, last one will be used `./output/dump` ### Global Arguments #### `--debug` Increase logging verbosity to show all debug logs. #### `--help -h` Show this help message and exit. #### `--output -o` Output format. Allowed values: json, jsonc, table, tsv. Default: json. #### `--query -q` JMESPath query string. See [http://jmespath.org/](http://jmespath.org/) for more information and examples. #### `--verbose` Increase logging verbosity. Use --debug for full debug logs. ## Next steps For more information about other `azdata` commands, see [azdata reference](reference-azdata.md). For more information about how to install the `azdata` tool, see [Install azdata to manage SQL Server 2019 big data clusters](deploy-install-azdata.md).