Skip to content

Make AdviceTrait's Stack Trace Logging Configurable and Fix Execution Context #966

Open
@osmanakkus44

Description

@osmanakkus44

Detailed Description

In our service, we are using AdviceTrait's create method, and while it has a default logger that logs stack traces, these stack traces are from the exception handling flow rather than the actual application flow where the exception originated. This makes it less useful for debugging the root cause of issues.

Possible Implementation

Suggestion is to make logging in this line optional.

Your Environment

  • Version used: 0.27.0, Spring Boot 2.6.6

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions