Describe the feature
It was briefly discussed in this PR:
#2083 (comment)
Therefore, adding a separate feature request here.
Currently AspNetCore JSON logger does not support logging scopes. It would be really nice if it did.
It was also requested for non-AspNetCore scenarios:
#1747 (comment)
Use Case
Scopes are heavily used with Otel, so currently we lose tracing information.
Apart from that, we heavily use custom scopes, like tenantId, userId, etc.
Acknowledgements
AWS .NET SDK and/or Package version used
Amazon.Lambda.Logging.AspNetCore 4.1.0
Targeted .NET Platform
.NET 8
Operating System and version
AmazonLinux
Describe the feature
It was briefly discussed in this PR:
#2083 (comment)
Therefore, adding a separate feature request here.
Currently AspNetCore JSON logger does not support logging scopes. It would be really nice if it did.
It was also requested for non-AspNetCore scenarios:
#1747 (comment)
Use Case
Scopes are heavily used with Otel, so currently we lose tracing information.
Apart from that, we heavily use custom scopes, like tenantId, userId, etc.
Acknowledgements
AWS .NET SDK and/or Package version used
Amazon.Lambda.Logging.AspNetCore 4.1.0
Targeted .NET Platform
.NET 8
Operating System and version
AmazonLinux