Log Level in Diagnostic Settings vs Application Insights
- Dominant language
- PowerShell
- Stars
- 1.1k
- Forks
- 215
- Avg merge
- 4h 2m
- Merged PRs (30d)
- 1
Description
Hello,
In a .NET in-process Azure Function I'd like to log the full content of a service bus message to a storage account via the Diagnostic Settings integration, using `ILogger` or `ILogger`.
The issue is that the service bus message gets logged to Application Insights as well, and I'd like to avoid that, because of the size of the service bus message (which is a large JSON payload).
It's not clear how I can control the log level between the two (Application Insights and Diagnostic Settings). In host.json it seems you cannot control the log level per "sink" - https://learn.microsoft.com/en-us/azure/azure-functions/functions-host-json#logging
Thank you,
Cosmin
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.