Change in ovirt-engine-sdk[master]: Use Python logging
omachace at redhat.com
omachace at redhat.com
Fri Jul 29 06:25:21 UTC 2016
Ondra Machacek has submitted this change and it was merged.
Change subject: Use Python logging
......................................................................
Use Python logging
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 Python "logging" module. To simplify that integration this
patch changes the SDK so that it uses the "logging" module.
Change-Id: Ifeefb5b4b75d5afb78149df0579493b8b2618538
Signed-off-by: Juan Hernandez <juan.hernandez at redhat.com>
---
M sdk/examples/add_cluster.py
M sdk/examples/add_data_center.py
M sdk/examples/add_host.py
M sdk/examples/add_nfs_data_storage_domain.py
M sdk/examples/add_nfs_iso_storage_domain.py
M sdk/examples/add_vm.py
M sdk/examples/add_vm_disk.py
M sdk/examples/add_vm_nic.py
M sdk/examples/add_vm_snapshot.py
M sdk/examples/attach_nfs_data_storage_domain.py
M sdk/examples/attach_nfs_iso_storage_domain.py
M sdk/examples/connection_builder.py
M sdk/examples/enable_compression.py
M sdk/examples/follow_vm_links.py
M sdk/examples/list_vm_disks.py
M sdk/examples/list_vms.py
M sdk/examples/page_vms.py
M sdk/examples/remove_host.py
M sdk/examples/remove_vm.py
M sdk/examples/search_vms.py
M sdk/examples/set_vm_serial_number.py
M sdk/examples/show_summary.py
M sdk/examples/start_vm.py
M sdk/examples/stop_vm.py
M sdk/examples/test_connection.py
M sdk/examples/update_data_center.py
M sdk/lib/ovirtsdk4/__init__.py
M sdk/tests/test_connection_create.py
28 files changed, 132 insertions(+), 50 deletions(-)
Approvals:
Ondra Machacek: Looks good to me, approved
Juan Hernandez: Verified
Jenkins CI: Passed CI tests
--
To view, visit https://gerrit.ovirt.org/61662
To unsubscribe, visit https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ifeefb5b4b75d5afb78149df0579493b8b2618538
Gerrit-PatchSet: 5
Gerrit-Project: ovirt-engine-sdk
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: Ondra Machacek <omachace at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>
More information about the Engine-commits
mailing list