|
|
@@ -129,8 +129,7 @@ def _export_instance(export_provider, connection_info,
|
|
|
instance, export_path, mp_q):
|
|
|
try:
|
|
|
# Setting up logging, needed since this is a new process
|
|
|
- logging.register_options(CONF)
|
|
|
- logging.setup(CONF, 'coriolis')
|
|
|
+ utils.setup_logging()
|
|
|
|
|
|
vm_info = export_provider.export_instance(
|
|
|
connection_info, instance, export_path)
|
|
|
@@ -144,8 +143,7 @@ def _import_instance(import_provider, connection_info,
|
|
|
target_environment, instance, export_info, mp_q):
|
|
|
try:
|
|
|
# Setting up logging, needed since this is a new process
|
|
|
- logging.register_options(CONF)
|
|
|
- logging.setup(CONF, 'coriolis')
|
|
|
+ utils.setup_logging()
|
|
|
|
|
|
import_provider.import_instance(
|
|
|
connection_info, target_environment, instance, export_info)
|