Skip to content

Conversation

@michaldo
Copy link
Contributor

Allows declare by application properties which frames should be excluded from stacktrace.

For a long time it is widely known stacktrace contains frames from frameworks (haha) which are irrelevant for bug tracking and decrease readability.
For example this 13 years old article https://nurkiewicz.com/2012/03/filtering-irrelevant-stack-trace-lines.html is still valid.
More links can be found here: #43864 (comment)
And here #42486

Current printer implemented in Spring Boot has everything to filter out irrelevant frames. The only missing piece is configuring irrelevant frames.

This is PR is the icing on the cake.

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Oct 11, 2025
@philwebb philwebb added the for: team-meeting An issue we'd like to discuss as a team to make progress label Oct 13, 2025
@philwebb
Copy link
Member

We've discussed this today and we're not sure about the use of regular expressions to filter the elements. We think we should probably align with the way that Logback supports filtering.

We'll come back to this sometime after Spring Boot 4.0.0 as we need to finish the work we've already committed to.

@philwebb philwebb added type: enhancement A general enhancement status: on-hold We can't start working on this issue yet status: pending-design-work Needs design work before any code can be developed and removed for: team-meeting An issue we'd like to discuss as a team to make progress status: waiting-for-triage An issue we've not yet triaged labels Oct 16, 2025
@philwebb philwebb added this to the 4.x milestone Oct 16, 2025
@snicoll
Copy link
Member

snicoll commented Dec 1, 2025

As we'd like to brainstorm on the feature and the current approach isn't what we're pursuing, I am going to close this in favor of #48362.

@snicoll snicoll closed this Dec 1, 2025
@snicoll snicoll added status: declined A suggestion or change that we don't feel we should currently apply and removed type: enhancement A general enhancement status: on-hold We can't start working on this issue yet status: pending-design-work Needs design work before any code can be developed labels Dec 1, 2025
@wilkinsona wilkinsona removed this from the 4.x milestone Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

status: declined A suggestion or change that we don't feel we should currently apply

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants