Open YuriyHolinko opened 3 days ago
OpenTelemetryAppender does not allow us to enrich log records with logger name.
OpenTelemetryAppender
The only possible approach is to have the logger name attribute in log record is to use MDC, which is overhead imho.
We can add the functionality to the OpenTelemetryAppender to enrich log record with logger name attribute.
With the Logback OpenTelemetryAppender, you can have access to the logger name from the instrumentation scope of the log record.
thanks for the attention, I will check and reply
OpenTelemetryAppender
does not allow us to enrich log records with logger name.The only possible approach is to have the logger name attribute in log record is to use MDC, which is overhead imho.
We can add the functionality to the
OpenTelemetryAppender
to enrich log record with logger name attribute.