Change in ovirt-engine-sdk-ruby[master]: Use Ruby logger

juan.hernandez at redhat.com juan.hernandez at redhat.com
Fri Jul 15 10:20:49 UTC 2016


Juan Hernandez has submitted this change and it was merged.

Change subject: Use Ruby logger
......................................................................


Use Ruby logger

Currently the SDK writes its debug output directly to a file. This isn't
convenient when he SDK is integrated into other applications that use
the standard Ruby "Logger" class. To simplify that integration this
patch changes the SDK so that it uses the "Logger" class.

Change-Id: Icc987ff4663cc5060ad3c2ceb258cf2cb5485bc8
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M sdk/examples/add_cluster.rb
M sdk/examples/add_data_center.rb
M sdk/examples/add_host.rb
M sdk/examples/add_nfs_data_storage_domain.rb
M sdk/examples/add_nfs_iso_storage_domain.rb
M sdk/examples/add_vm.rb
M sdk/examples/add_vm_disk.rb
M sdk/examples/add_vm_nic.rb
M sdk/examples/attach_nfs_data_storage_domain.rb
M sdk/examples/attach_nfs_iso_storage_domain.rb
M sdk/examples/enable_compression.rb
M sdk/examples/external_authentication.rb
M sdk/examples/follow_vm_links.rb
M sdk/examples/kerberos_authentication.rb
M sdk/examples/list_vm_disks.rb
M sdk/examples/list_vms.rb
M sdk/examples/page_vms.rb
M sdk/examples/remove_host.rb
M sdk/examples/remove_vm.rb
M sdk/examples/search_vms.rb
M sdk/examples/set_vm_serial_number.rb
M sdk/examples/show_summary.rb
M sdk/examples/start_vm.rb
M sdk/examples/stop_vm.rb
M sdk/examples/update_data_center.rb
M sdk/lib/ovirtsdk4/http.rb
M sdk/spec/connection_create_spec.rb
M sdk/spec/connection_timeout_spec.rb
M sdk/spec/spec_helper.rb
29 files changed, 84 insertions(+), 133 deletions(-)

Approvals:
  Juan Hernandez: Verified; Looks good to me, approved
  Jenkins CI: Passed CI tests



-- 
To view, visit https://gerrit.ovirt.org/60767
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icc987ff4663cc5060ad3c2ceb258cf2cb5485bc8
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine-sdk-ruby
Gerrit-Branch: master
Gerrit-Owner: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Juan Hernandez <juan.hernandez at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list