CmdID

CmdID / az / az containerapp / az containerapp java / az containerapp java logger

az containerapp java logger set

Create or update logger for Java workloads. Azure CLI extensions reference

2 examples Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create root logger with debug level.

az containerapp java logger set --logger-name root --logger-level debug -n my-containerapp -g MyResourceGroupIdentify
--logger-nameThe logger name.
--logger-levelSet the log level for the specific logger name.
-nThe name of the Containerapp.
-gName of resource group.

Update root logger with debug level.

az containerapp java logger set --logger-name root --logger-level info -n my-containerapp -g MyResourceGroupIdentify
--logger-nameThe logger name.
--logger-levelSet the log level for the specific logger name.
-nThe name of the Containerapp.
-gName of resource group.