# File lib/new_relic/agent/datastores/redis.rb, line 30
        def self.format_command(command_with_args)
          if Agent.config['transaction_tracer.record_redis_arguments''transaction_tracer.record_redis_arguments']
            result = ""

            append_command_with_args(result, command_with_args)

            trim_result(result) if result.length >= MAXIMUM_COMMAND_LENGTH
            result.strip!
            result
          else
            nil
          end
        end