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 554aa2e commit 15b701b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/webpacker/railtie.rb
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 15b701b

Please sign in to comment.