Logs are not shown in structured logs #1908
Unanswered
halilkocaoz
asked this question in
Q&A
Replies: 1 comment 1 reply
-
You create a new logger factory with no open telemetry configured. Take a look at the ServiceDefaults. That's how logging (metrics and tracing) is wired up to the dashboard. Why aren't you just injecting a logger into your class? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I use the LoggerFactory class to create logger.
Like this:
In the Aspire dashboard I only see the logs from the console and I have checked the builder but I can't find anything to help. Do you have any idea why the logs are not showing up in the structured logs?
Beta Was this translation helpful? Give feedback.
All reactions