    # File lib/phusion_passenger/classic_rails_extensions/init.rb, line 108
            def self.new_transaction_log(env, category = :requests)
                    if env[PASSENGER_TXN_ID]
                            group_name = env[PASSENGER_GROUP_NAME]
                            union_station_key = env[PASSENGER_UNION_STATION_KEY]
                            log = @@analytics_logger.new_transaction(group_name, category,
                                    union_station_key)
                            begin
                                    yield log
                            ensure
                                    log.close
                            end
                    end
            end