From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yolkfull Chow Subject: [KVM-AUTOTEST PATCH] bugfix for changing kvm_log to logging Date: Thu, 25 Jun 2009 23:54:25 +0800 Message-ID: <4A439DB1.9040701@redhat.com> References: <1245187799-7757-1-git-send-email-lmr@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Lucas Meneghel Rodrigues , Michael Goldish To: kvm@vger.kernel.org, autotest@test.kernel.org Return-path: Received: from mx2.redhat.com ([66.187.237.31]:58210 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752826AbZFYPya (ORCPT ); Thu, 25 Jun 2009 11:54:30 -0400 In-Reply-To: <1245187799-7757-1-git-send-email-lmr@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: diff --git a/client/tests/kvm/kvm.py b/client/tests/kvm/kvm.py index 4c7bae4..26ae46f 100644 --- a/client/tests/kvm/kvm.py +++ b/client/tests/kvm/kvm.py @@ -73,7 +73,7 @@ class kvm(test.test): resource.setrlimit(resource.RLIMIT_CORE, (-1, -1)) # Set the logging prefix - #kvm_log.set_prefix(params.get("shortname")) + #logging.set_prefix(params.get("shortname")) # Report the parameters we've received and write them as keyvals logging.debug("Test parameters:") diff --git a/client/tests/kvm/kvm_utils.py b/client/tests/kvm/kvm_utils.py index 4bc8dc7..a37d322 100644 --- a/client/tests/kvm/kvm_utils.py +++ b/client/tests/kvm/kvm_utils.py @@ -670,7 +670,7 @@ def remote_login(command, password, prompt, linesep="\n", timeout=10): sub.close() return None elif match == 4: # "Connection refused" - kvm_log.debug("Got 'Connection refused'") + logging.debug("Got 'Connection refused'") sub.close() return None elif match == 5: # prompt