Skip to content

Commit f07615a

Browse files
authored
Update java-dynamic-log-level.md
1 parent 3a8ee8c commit f07615a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/container-apps/java-dynamic-log-level.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ms.author: cshoe
1313

1414
Azure Container Apps platform offers a built-in diagnostics tool exclusively for Java developers to help them debug and troubleshoot their Java applications running on Azure Container Apps more easily and efficiently. One of the key features is a dynamic logger level change, which allows you to access log details that are hidden by default. When enabled, log information is collected without code modifications or forcing you to restart your app when changing log levels.
1515

16-
Before getting started, you need to upgrade Azure Container Apps Extension in your Azure CLI to version **0.3.51** or higher to use this functionality.
16+
Before getting started, you need to upgrade Azure Container Apps extension in your Azure CLI to version **0.3.51** or higher.
1717
```azurecli
1818
az extension update --name containerapp
1919
```
@@ -53,7 +53,7 @@ Use the following command to adjust log levels for a specific logger:
5353
```azurecli
5454
az containerapp java logger set \
5555
--logger-name "org.springframework.boot" \
56-
--level "info"
56+
--logger-level "info"
5757
--environment <ENVIRONMENT_NAME> \
5858
--resource-group <RESOURCE_GROUP> \
5959
--name <CONTAINER_APP_NAME>

0 commit comments

Comments
 (0)