Skip to content

Commit

Permalink
Require complete active_support gem
Browse files Browse the repository at this point in the history
According to this comment [1] we need to load the whole of active_support
and cannot load the tagged_logging class individually.

[1] rails/rails#47733 (comment)
  • Loading branch information
5minpause authored Mar 22, 2023
1 parent 6b5548a commit 8a739dd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 149 deletions.
148 changes: 0 additions & 148 deletions lib/active_support/tagged_logging.rb

This file was deleted.

2 changes: 1 addition & 1 deletion lib/sensible_logging/middlewares/tagged_logger.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true

require 'ipaddr'
require_relative '../../active_support/tagged_logging'
require 'active_support'
require_relative '../helpers/subdomain_parser'

# Allow custom tags to be captured
Expand Down

0 comments on commit 8a739dd

Please sign in to comment.