[CORD-3022] Splitting config

Change-Id: I1e802b052a6e5f59e17215864ec18b9acb945a14
diff --git a/xos/synchronizer/mcord_config.yaml b/xos/synchronizer/config.yaml
similarity index 81%
rename from xos/synchronizer/mcord_config.yaml
rename to xos/synchronizer/config.yaml
index 373ef97..fdac6ea 100644
--- a/xos/synchronizer/mcord_config.yaml
+++ b/xos/synchronizer/config.yaml
@@ -15,10 +15,17 @@
 
 
 name: mcord
-accessor:
-  username: xosadmin@opencord.org
-  password: "@/opt/xos/services/mcord/credentials/xosadmin@opencord.org"
 dependency_graph: "/opt/xos/synchronizers/mcord/model-deps"
 sys_dir: "/opt/xos/synchronizers/mcord/sys"
 models_dir: "/opt/xos/synchronizers/mcord/models"
+logging:
+  version: 1
+  handlers:
+    console:
+      class: logging.StreamHandler
+  loggers:
+    'multistructlog':
+      handlers:
+          - console
+      level: DEBUG
 
diff --git a/xos/synchronizer/mcord-synchronizer.py b/xos/synchronizer/mcord-synchronizer.py
index 57dc508..f9ea235 100644
--- a/xos/synchronizer/mcord-synchronizer.py
+++ b/xos/synchronizer/mcord-synchronizer.py
@@ -23,8 +23,13 @@
 import sys
 from xosconfig import Config
 
-config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/mcord_config.yaml')
-Config.init(config_file, 'synchronizer-config-schema.yaml')
+base_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/config.yaml')
+mounted_config_file = os.path.abspath(os.path.dirname(os.path.realpath(__file__)) + '/mounted_config.yaml')
+
+if os.path.isfile(mounted_config_file):
+    Config.init(base_config_file, 'synchronizer-config-schema.yaml', mounted_config_file)
+else:
+    Config.init(base_config_file, 'synchronizer-config-schema.yaml')
 
 observer_path = os.path.join(os.path.dirname(os.path.realpath(__file__)),"../../synchronizers/new_base")
 sys.path.append(observer_path)