Skip to content

Commit

Permalink
Revert "set Webpacker logger to tagged when rails TaggedLogging (#1311)"
Browse files Browse the repository at this point in the history
This reverts commit f20233a.
  • Loading branch information
gauravtiwari committed Aug 17, 2020
1 parent 38e3028 commit e0b693d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webpacker/railtie.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class Webpacker::Engine < ::Rails::Engine
initializer "webpacker.logger" do
config.after_initialize do
if ::Rails.logger.respond_to?(:tagged)
Webpacker.logger = ActiveSupport::TaggedLogging.new(::Rails.logger)
else
Webpacker.logger = ::Rails.logger
else
Webpacker.logger = ActiveSupport::TaggedLogging.new(::Rails.logger)
end
end
end
Expand Down

0 comments on commit e0b693d

Please sign in to comment.