Skip to content

Rails filter_parameters is not respected when logging queries. #1348

Open
@b-nik

Description

@b-nik

It seems like the config option Rails.application.config.filter_parameters is not respected when logging queries - all queries are logged with the parameters unfiltered.

(Tested on Rails 8.0 with activerecord-sqlserver-adapter 8.0.7)

My current workaround for production is to disabled logging of queries completely.

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