You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not easily possible. ILogger filtering mechanism is per provider. Entire OpenTelemetry is one provider from ILogger perspective. Further filtering is possible in OpenTelemetry, by wrapping exporting processors with a custom FilteringProcessor.
There are no examples on how to do that today.
You may take a look at the example from here: Azure/azure-sdk-for-net#44745 (comment) (and potentially contribute it back to the contrib repo, if you have bandwidth!).
There was a proposal to make this easier #5282 but that did not proceed much.
Azure monitor is one of the exporters we were having trouble with, ended up using the old appinsights sdk so we have a separate configurable logging provider, thanks!
What is the question?
Hello, is there a way to configure log levels per exporter?
Additional context
We want to send:
For
ASP.NET Logging -> Logging provider
, log levels can be configured like so:For
OpenTelemetry logging provider -> Exporter
however, I could not find anything similar.The text was updated successfully, but these errors were encountered: