Skip to content
This repository has been archived by the owner on Nov 1, 2023. It is now read-only.

Commit

Permalink
add log sampling at the Functions layer (#174)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmc-msft authored Oct 23, 2020
1 parent 4f53d4b commit 6989cf9
Showing 1 changed file with 10 additions and 15 deletions.
25 changes: 10 additions & 15 deletions src/api-service/__app__/host.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,26 +5,21 @@
"version": "[1.*, 2.0.0)"
},
"logging": {
"default": "Information",
"Host.Results": "Information",
"Function": "Information",
"Host.Aggregator": "Information",
"console": {
"default": "Information",
"Host.Results": "Information",
"Function": "Information",
"Host.Aggregator": "Information"
},
"logLevel": {
"default": "Information",
"Host.Results": "Information",
"default": "Warning",
"Host": "Warning",
"Function": "Information",
"Function.FunctionA": "Information",
"Host.Aggregator": "Information"
"Host.Aggregator": "Warning",
"logging:logLevel:Worker": "Warning",
"logging:logLevel:Microsoft": "Warning",
"AzureFunctionsJobHost:logging:logLevel:Host.Function.Console": "Warning"
},
"applicationInsights": {
"samplingSettings": {
"isEnabled": false
"isEnabled": true,
"InitialSamplingPercentage": 100,
"maxTelemetryItemsPerSecond": 20,
"excludedTypes": "Exception"
}
}
},
Expand Down

0 comments on commit 6989cf9

Please sign in to comment.