MicrosoftDocs / azure-docs

Open source documentation of Microsoft Azure
https://docs.microsoft.com/azure
Creative Commons Attribution 4.0 International
10.01k stars 21k forks source link

[Application Insights for Java] Document an env var for disabling auto collected logging #122167

Closed progxaker closed 1 week ago

progxaker commented 2 weeks ago

https://learn.microsoft.com/en-us/azure/azure-monitor/app/java-standalone-config#autocollected-logging

You can also set the level by using the environment variable APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_LEVEL. It then takes precedence over the level specified in the JSON configuration.

The APPLICATIONINSIGHTS_INSTRUMENTATION_LOGGING_ENABLED environment var for disabling auto collected logging was added in the release 3.5.2 - https://github.com/microsoft/ApplicationInsights-Java/pull/3622.

  1. Can this variable be documented because it has been released to GA?
  2. Is there no process where a pull request would need to be created to the documentation repository before merging the implementation part?..

Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

PesalaPavan commented 2 weeks ago

@progxaker Thanks for your feedback! We will investigate and update as appropriate.

AaronMaxwell commented 1 week ago

Thanks for your dedication to our documentation. This issue has been triaged and approved. The PR is mentioned in the chat below. #please-close

Typically features are documented on Learn at the same time as they are announced in either Public Preview or GA.

https://github.com/MicrosoftDocs/azure-docs-pr/pull/274739 https://github.com/MicrosoftDocs/azure-docs-pr/pull/274761