Inspect Thread.current[:activesupport_tagged_logging_tags] to get the logger tags

Both Rails 3.2 and Rails 4 support this.