From f03b728989673d06f49e349a23b9ad2ffc66753e Mon Sep 17 00:00:00 2001 From: Dan Prince Date: Mon, 11 Jun 2012 15:08:32 -0400 Subject: Log connection_type deprecation message as WARNING Updates the connection_type log messages to log as a warning instead of an error. Fixes LP Bug #1011788. Change-Id: I4cc2d9d5fdea2c8871f760b73a905fe61edcbe8f --- nova/virt/connection.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/nova/virt/connection.py b/nova/virt/connection.py index 8bf1ed5f5..084fa3425 100644 --- a/nova/virt/connection.py +++ b/nova/virt/connection.py @@ -65,9 +65,7 @@ def get_connection(read_only=False): * baremetal """ - # TODO(termie): check whether we can be disconnected - # TODO(sdague): is there a better way to mark things deprecated - LOG.error(_('Specifying virt driver via connection_type is deprecated')) + LOG.warning(_('Specifying virt driver via connection_type is deprecated')) driver_name = known_drivers.get(FLAGS.connection_type) -- cgit