Commits

Lars Hansson committed 081463f Draft

Reduce log level.

Comments (0)

Files changed (1)

         if self.dbpath is None:
             self._local_name = None
             if logger is not None:
-                logger.warning('Database not configured. Autodetecting local hypervisor')
+                logger.info('Database not configured. Autodetecting local hypervisor')
             (self._local_name, self._local_uri) = virtutil.detect_local()
             if self._local_name is None:
                 if logger is not None:
-                    logger.warning('No local hypervisor found. Will use test settings')
+                    logger.info('No local hypervisor found. Will use test settings')
                 self._local_name = 'test'
                 self._local_data = {'uri': 'test:///default', 'username': None, 'password': None}
             else:
                 if logger is not None:
-                    logger.warning('Found local hypervisor at %s' % (self._local_uri))
+                    logger.info('Found local hypervisor at %s' % (self._local_uri))
                 self._local_data = {'uri': self._local_uri, 'username': None, 'password': None}
         else:
             # Create the database file if it does not exist