diff --git a/Gemfile b/Gemfile index 69cf93c104..35c1a5455b 100644 --- a/Gemfile +++ b/Gemfile @@ -46,7 +46,7 @@ gem "stackprof" gem "amazing_print", "~> 1.6" # There seems to be an issue with 4.17.0 where the workers log the sql -gem "rails_semantic_logger", "4.17.0" +gem "rails_semantic_logger", github: "kennyevil/rails_semantic_logger", branch: "filter-bind-values" # Thread-safe global state gem "request_store", "~> 1.7" diff --git a/Gemfile.lock b/Gemfile.lock index 8d7729a8ef..7665e95509 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -18,6 +18,16 @@ GIT activesupport tzinfo +GIT + remote: https://github.com/kennyevil/rails_semantic_logger.git + revision: c09d7158bdcd8884a13d185848c3a519d9d4bf6d + branch: filter-bind-values + specs: + rails_semantic_logger (4.17.0) + rack + railties (>= 5.1) + semantic_logger (~> 4.16) + GEM remote: https://rubygems.org/ specs: @@ -515,10 +525,6 @@ GEM rails-html-sanitizer (1.6.0) loofah (~> 2.21) nokogiri (~> 1.14) - rails_semantic_logger (4.17.0) - rack - railties (>= 5.1) - semantic_logger (~> 4.16) railties (7.2.0) actionpack (= 7.2.0) activesupport (= 7.2.0) @@ -814,7 +820,7 @@ DEPENDENCIES rails (~> 7.2) rails-controller-testing rails-erd - rails_semantic_logger (= 4.17.0) + rails_semantic_logger! request_store (~> 1.7) rotp rspec-benchmark diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb index 3a72536283..6d5a0ade16 100644 --- a/config/initializers/filter_parameter_logging.rb +++ b/config/initializers/filter_parameter_logging.rb @@ -32,4 +32,5 @@ :region, :town_city, :trn, + :audited_changes, ]