Skip to content

Extra options in ALLOWED_LIST of ActiveSupportLogger #2135

@igordepolli

Description

@igordepolli

Hi,

The pull request #2048 add a constant called ALLOWED_LIST to filter ActiveSupport breadcrumbs data. I would like to know if it is possible to make the addition/removal of allowed attributes dynamic.

The reason? Well, in our company, we used to use a lot for the type_casted_binds attribute that the subscription in sql.active_record gives us. This attribute provides us with all the where clauses for the queries that were made up to the time of the raise, which helped a lot with debugging for our cases.

I understand that it may not be a universal need, so my idea to implement this would be to make this addition of extra attributes optional on initialize, like excluded exceptions, for example.

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

Status

Waiting for: Product Owner

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions