Skip to content

Commit

Permalink
[NOD_567] fix: optimized logging
Browse files Browse the repository at this point in the history
  • Loading branch information
andrea-deri committed Oct 31, 2023
1 parent 38853b9 commit c058575
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions host.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@
"version": "[4.0.0, 5.0.0)"
},
"extensions": {
"tracing": {
"traceInputsAndOutputs": false,
"traceReplayEvents": false
},
"eventHubs": {
"maxEventBatchSize" : 10,
"batchCheckpointFrequency" : 2,
Expand All @@ -22,18 +26,17 @@
},
"functions": [ "Info", "EventHubNodoReEventProcessor" ],
"logging": {
"logLevel": {
"default": "Error",
"Function.EventHubNodoReEventProcessor": "Warning"
},
"applicationInsights": {
"samplingSettings": {
"isEnabled": false
"isEnabled": true,
"maxTelemetryItemsPerSecond": 5,
"includedTypes": "PageView;Trace;Dependency;Request",
"excludedTypes": "Exception;Event;CustomEvent"
}
},
"fileLoggingMode": "always",
"logLevel": {
"default": "Information",
"Host.Results": "Error",
"Function": "Information",
"Function.EventHubNodoReEventProcessor": "Error",
"Host.Aggregator": "Trace"
}
}
}

0 comments on commit c058575

Please sign in to comment.