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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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 type: enhancement A general enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants