Skip to content

Commit b17a71a

Browse files
committed
Consolidate instrumentation enabled documentation
1 parent 7e7772a commit b17a71a

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

articles/azure-monitor/app/java-standalone-config.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -471,8 +471,6 @@ You can use these valid `level` values to specify in the `applicationinsights.js
471471
| TRACE (or FINEST) | TRACE | TRACE | TRACE | FINEST |
472472
| ALL | ALL | ALL | ALL | ALL |
473473

474-
You can turn off autocollected logging completedly by setting the environment variable `APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_ENABLED` to `false`. It's on by default.
475-
476474
> [!NOTE]
477475
> If an exception object is passed to the logger, the log message (and exception object details) will show up in the Azure portal under the `exceptions` table instead of the `traces` table. If you want to see the log messages across both the `traces` and `exceptions` tables, you can write a Logs (Kusto) query to union across them. For example:
478476
>
@@ -693,6 +691,9 @@ Starting from version 3.0.3, specific autocollected telemetry can be suppressed
693691
"kafka": {
694692
"enabled": false
695693
},
694+
"logging": {
695+
"enabled": false
696+
},
696697
"micrometer": {
697698
"enabled": false
698699
},
@@ -722,6 +723,7 @@ You can also suppress these instrumentations by setting these environment variab
722723
* `APPLICATIONINSIGHTS_INSTRUMENTATION_JDBC_ENABLED`
723724
* `APPLICATIONINSIGHTS_INSTRUMENTATION_JMS_ENABLED`
724725
* `APPLICATIONINSIGHTS_INSTRUMENTATION_KAFKA_ENABLED`
726+
* `APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_ENABLED`
725727
* `APPLICATIONINSIGHTS_INSTRUMENTATION_MICROMETER_ENABLED`
726728
* `APPLICATIONINSIGHTS_INSTRUMENTATION_MONGO_ENABLED`
727729
* `APPLICATIONINSIGHTS_INSTRUMENTATION_RABBITMQ_ENABLED`

0 commit comments

Comments
 (0)