az containerapp java logger
Note
This reference is part of the containerapp extension for the Azure CLI (version 2.62.0 or higher). The extension will automatically install the first time you run an az containerapp java logger command. Learn more about extensions.
Dynamically change log level for Java workloads.
Commands
Name | Description | Type | Status |
---|---|---|---|
az containerapp java logger delete |
Delete logger for Java workloads. |
Extension | GA |
az containerapp java logger set |
Create or update logger for Java workloads. |
Extension | GA |
az containerapp java logger show |
Display logger setting for Java workloads. |
Extension | GA |
az containerapp java logger delete
Delete logger for Java workloads.
az containerapp java logger delete [--all]
[--ids]
[--logger-name]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
Examples
Delete all logger settings for Java workloads.
az containerapp java logger delete --all -n my-containerapp -g MyResourceGroup
Delete specific logger with name for Java workloads.
az containerapp java logger delete --logger-name root -n my-containerapp -g MyResourceGroup
Optional Parameters
The flag to indicate all logger settings.
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.
The logger name.
The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az containerapp java logger set
Create or update logger for Java workloads.
az containerapp java logger set --logger-level {debug, error, info, off, trace, warn}
--logger-name
[--ids]
[--name]
[--no-wait]
[--resource-group]
[--subscription]
Examples
Create root logger with debug level.
az containerapp java logger set --logger-name root --logger-level debug -n my-containerapp -g MyResourceGroup
Update root logger with debug level.
az containerapp java logger set --logger-name root --logger-level info -n my-containerapp -g MyResourceGroup
Required Parameters
Set the log level for the specific logger name.
The logger name.
Optional Parameters
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.
The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Do not wait for the long-running operation to finish.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az containerapp java logger show
Display logger setting for Java workloads.
az containerapp java logger show [--all]
[--ids]
[--logger-name]
[--name]
[--resource-group]
[--subscription]
Examples
Display all logger settings for Java workloads.
az containerapp java logger show --all -n my-containerapp -g MyResourceGroup
Display specific logger with name for Java workloads.
az containerapp java logger show --logger-name root -n my-containerapp -g MyResourceGroup
Optional Parameters
The flag to indicate all logger settings.
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.
The logger name.
The name of the Containerapp. A name must consist of lower case alphanumeric characters or '-', start with a letter, end with an alphanumeric character, cannot have '--', and must be less than 32 characters.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
Azure CLI