Skip to content

Support scopes with Amazon.Lambda.Logging.AspNetCore JSON logger #2122

Description

@Dreamescaper

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

  • I may be able to implement this feature request
  • This feature might incur a breaking change

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

Activity

  1. added
    p3This is a minor priority issue
    and removed
    needs-triageThis issue or PR still needs to be triaged.
    on Aug 13, 2025
  2. added
    p2This is a standard priority issue
    and removed
    p3This is a minor priority issue
    on Aug 18, 2025
  3. added a commit that references this issue on Aug 14, 2026
    b030064
  4. github-actions commented on Oct 5, 2026

    @github-actions
    Contributor

    Comments on closed issues are hard for our team to see.
    If you need more assistance, please either tag a team member or open a new issue that references this one.
    If you wish to keep having a conversation with other community members under this issue feel free to do so.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p2This is a standard priority issuequeued

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions