Aspnet Core .Net8 Logging #5420
-
I have follow this example with OtelExporter and it works when logging with _logger.LogInformation() but _logger.LogDebug() is not exported. What do I need to get that going? |
Beta Was this translation helpful? Give feedback.
Answered by
cijothomas
Mar 7, 2024
Replies: 1 comment 2 replies
-
Please make sure filtering is setup correctly. If you are not explicitly configuring logging filter, then the default is what gets applied. which may not be what you need. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
cijothomas
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://github.com/open-telemetry/opentelemetry-dotnet/tree/main/docs/logs/customizing-the-sdk#log-filtering
Please make sure filtering is setup correctly. If you are not explicitly configuring logging filter, then the default is what gets applied. which may not be what you need.