שתף באמצעות


az mesh code-package-log

Note

This reference is part of the mesh extension for the Azure CLI (version 2.50.0 or higher). The extension will automatically install the first time you run an az mesh code-package-log command. Learn more about extensions.

Command group 'az mesh' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Examine the logs for a codepackage.

Commands

Name Description Type Status
az mesh code-package-log get

Examine the logs for a codepackage.

Extension Preview

az mesh code-package-log get

Preview

Command group 'az mesh' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Examine the logs for a codepackage.

az mesh code-package-log get [--app-name]
                             [--code-package-name]
                             [--ids]
                             [--replica-name]
                             [--resource-group]
                             [--service-name]
                             [--subscription]
                             [--tail]

Optional Parameters

--app-name --application-name

The name of the application.

--code-package-name

The name of code package of the service.

--ids

One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.

--replica-name

Service Fabric replica name.

--resource-group -g

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

--service-name

The name of the service.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--tail

Number of lines to show from the end of the logs. Default is 100.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.