lightweight exception capturing, logging
[osm/RO.git] / lcm / osm_lcm / lcm.cfg
index a44ee75..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,6 +21,8 @@ VCA:
     port:   17070
     user:   admin
     secret:   secret
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-vca.log
 
 #[database]
 database:
@@ -28,12 +32,16 @@ database:
     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
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-storage.log
 
 #[message]
 message:
@@ -43,3 +51,5 @@ message:
     # for kafka provide host and port
     host:   kafka
     port:   9092
+    loglevel: DEBUG
+    #logfile:  /var/log/osm/lcm-message.log