lightweight exception capturing, logging
[osm/RO.git] / lcm / osm_lcm / lcm.cfg
index c93323f..fdc8b69 100644 (file)
@@ -1,10 +1,10 @@
 
-# TODO currently is a pure yaml format. Transform it to [ini] style with yaml inside to be coherent with other modules
+# TODO currently is a pure yaml format. Consider to change it to [ini] style with yaml inside to be coherent with other modules
 
 #[global]
 global:
-    log_file:   ""
-    log_level:  DEBUG
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm.log
 
 #[RO]
 RO:
@@ -12,6 +12,8 @@ RO:
     host:   localhost
     port:   9090
     tenant: osm
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-ro.log
 
 #[VCA]
 VCA:
@@ -19,27 +21,35 @@ VCA:
     port:   17070
     user:   admin
     secret:   secret
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-vca.log
 
 #[database]
 database:
-    #driver: mongo       # mongo or memory
-    driver: memory
+    driver: mongo       # mongo or memory
     host:   mongo       # hostname or IP
     port:   27017
     name:   osm
     user:   user
     password:   password
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-database.log
 
 #[storage]
 storage:
     driver: local       # local filesystem
     # for local provide file path
-    #path:   /app/storage
-    path:   /home/atierno/OSM/osm/RO/lcm/local/storage
+    path:   /app/storage
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-storage.log
 
 #[message]
 message:
     driver: local       # local or kafka
     # for local provide file path
-    #path:   /app/storage/kafka
-    path:   /home/atierno/OSM/osm/RO/lcm/local/kafka
+    path:   /app/storage/kafka
+    # for kafka provide host and port
+    host:   kafka
+    port:   9092
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-message.log