diff --git a/lib/ec2/right_ec2_instances.rb b/lib/ec2/right_ec2_instances.rb index 7ba7cf1..36aef8b 100644 --- a/lib/ec2/right_ec2_instances.rb +++ b/lib/ec2/right_ec2_instances.rb @@ -242,7 +242,8 @@ def launch_instances(image_id, options={}) :monitoring_enabled => { :name => 'Monitoring.Enabled', :value => Proc.new{ options[:monitoring_enabled] && options[:monitoring_enabled].to_s }}) # Log debug information - @logger.info("Launching instance of image #{image_id}. Options: #{params.inspect}") + @logger.info("Launching instance of image #{image_id}.") + @logger.debug("Launching instance of image #{image_id}. Options: #{params.inspect}") link = generate_request("RunInstances", params) instances = request_info(link, QEc2DescribeInstancesParser.new(:logger => @logger)) get_desc_instances(instances)