diff --git a/lib/trashed/railtie.rb b/lib/trashed/railtie.rb
index <HASH>..<HASH> 100644
--- a/lib/trashed/railtie.rb
+++ b/lib/trashed/railtie.rb
@@ -16,7 +16,7 @@ module Trashed
 
       def call(env)
         @app.call(env).tap do
-          env['trashed.logger.tags'] = Rails.logger.formatter.current_tags.dup
+          env['trashed.logger.tags'] = Array(Thread.current[:activesupport_tagged_logging_tags]).dup
         end
       end
     end
Inspect Thread.current[:activesupport_tagged_logging_tags] to get the logger tags

Both Rails <I> and Rails 4 support this.