Use oslo.log for heat_integrationtests
Later the integration jobs can be tuned to have their own
logging settings.
This change also raises _log_console_output to info, so it is displayed
by default.
Change-Id: Ifcaa6faf76c655e0c8cfd7d76775b80de70062c4
diff --git a/common/test.py b/common/test.py
index 0ffa2b0..26abe6b 100644
--- a/common/test.py
+++ b/common/test.py
@@ -10,7 +10,6 @@
# License for the specific language governing permissions and limitations
# under the License.
-import logging
import os
import random
import re
@@ -19,6 +18,7 @@
import fixtures
from heatclient import exc as heat_exceptions
+from oslo_log import log as logging
from oslo_utils import timeutils
import six
import testscenarios
@@ -111,8 +111,8 @@
if not servers:
servers = self.compute_client.servers.list()
for server in servers:
- LOG.debug('Console output for %s', server.id)
- LOG.debug(server.get_console_output())
+ LOG.info('Console output for %s', server.id)
+ LOG.info(server.get_console_output())
def _load_template(self, base_file, file_name, sub_dir=None):
sub_dir = sub_dir or ''