Replies: 2 comments 8 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
I have the same problem and I can be pretty sure that the upgrade from OpenTelemetry.Extensions.Hosting rc9.5 to 9.6 appears buggy because I have done very much trying. .ConfigureLogging((host, logging) =>
{
logging.ClearProviders();
logging.AddSerilog();
logging.AddOpenTelemetry(options =>
{
options.IncludeFormattedMessage = true;
options.ParseStateValues = true;
options.AttachLogsToActivityEvent();
});
}) |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to attach logs (from
ILogger
) to activities in aconsole
app. It's working, except theMessage
of the log is not showing, but CategoryName and LogLevel are.I've configured the
LoggerFactory
by addingOpenTelemetry
+AttachLogsToActivityEvent
(here).Adding Jaeger exporter.
This is what I get

Why the log
Message
is not there?Beta Was this translation helpful? Give feedback.
All reactions