Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Make the full instance options inspect logger.debug level. #142

Open
wants to merge 1 commit into from

1 participant

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 1 deletion.
  1. +2 −1  lib/ec2/right_ec2_instances.rb
View
3  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)
Something went wrong with that request. Please try again.