Skip to content

Commit

Permalink
Merge pull request #414 from senacor/feat/disable_internal_debug_logging
Browse files Browse the repository at this point in the history
Disable internal debug logging
  • Loading branch information
ziegler-daniel authored Aug 22, 2024
2 parents 1a3092a + 1b4ef80 commit de79ca8
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# CHANGELOG

## 3.0.2 (22.08.2024)
- Disable Application Insights internal debug logging

## 3.0.1 (07.08.2024)
- Fix type of middleware function

## 3.0.0 (04.07.2024)
~ Upgraded to Programming Model v4 (https://techcommunity.microsoft.com/t5/apps-on-azure-blog/azure-functions-node-js-v4-programming-model-is-generally/ba-p/3929217)
- Removed Node16 from the CI/CD Pipeline
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@senacor/azure-function-middleware",
"version": "3.0.1",
"version": "3.0.2",
"description": "Middleware for azure functions to handle authentication, authorization, error handling and logging",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion src/appInsights/appInsightsWrapper.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ if (!isDisabled) {
.setSendLiveMetrics(false)
.setDistributedTracingMode(appInsights.DistributedTracingModes.AI_AND_W3C)
.setAutoCollectHeartbeat(false)
.setInternalLogging(true);
.setInternalLogging(false, true);

appInsights.defaultClient.commonProperties = {
environment: process.env.ENVIRONMENT ?? 'UNDEFINED',
Expand Down

0 comments on commit de79ca8

Please sign in to comment.