blob: 330fe52bfb403e13e9cdf6d0ec9f26f5cdb54bd4 [file] [log] [blame]
Zsolt Harasztic0aa8512016-09-12 23:42:26 -07001logging:
2 version: 1
3
4 formatters:
5 brief:
6 format: '%(message)s'
7 default:
Zsolt Haraszticd22adc2016-10-25 00:13:06 -07008 format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(module)s.%(funcName)s %(message)s'
Zsolt Harasztic0aa8512016-09-12 23:42:26 -07009 datefmt: '%Y%m%dT%H%M%S'
khenaidoo50b286d2018-03-02 17:44:30 -050010
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070011 handlers:
12 console:
13 class : logging.StreamHandler
khenaidoocbff06b2017-08-22 16:26:32 -040014 level: DEBUG
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070015 formatter: default
16 stream: ext://sys.stdout
khenaidoo80a7f572017-04-05 14:17:16 -050017 localRotatingFile:
18 class: logging.handlers.RotatingFileHandler
19 filename: voltha.log
20 formatter: default
21 maxBytes: 2097152
22 backupCount: 10
khenaidoocbff06b2017-08-22 16:26:32 -040023 level: DEBUG
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070024 null:
25 class: logging.NullHandler
26
27 loggers:
28 amqp:
29 handlers: [null]
30 propagate: False
31 conf:
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070032 propagate: False
33 '': # root logger
khenaidoo50b286d2018-03-02 17:44:30 -050034 handlers: [console, localRotatingFile]
Zsolt Haraszti1420def2016-09-18 00:07:31 -070035 level: INFO # this can be bumped up/down by -q and -v command line
36 # options
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070037 propagate: False
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040038
khenaidoo80a7f572017-04-05 14:17:16 -050039core:
40 management_vlan: 4091
41
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040042coordinator:
43 voltha_kv_prefix: 'service/voltha'
khenaidoo032d3302017-06-09 14:50:04 -040044 core_store_key: 'data/core'
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040045 leader_key: 'leader'
46 membership_key: 'members'
47 assignment_key: 'assignments'
48 workload_key: 'work'
49 membership_watch_relatch_delay: 0.1
khenaidoo686f7bd2017-08-11 11:41:33 -040050 membership_maintenance_loop_delay: 5
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040051 tracking_loop_delay: 1
khenaidoo5431e4c2017-08-17 15:05:40 -040052 session_time_to_live: 60
53 session_renewal_loop_delay: 10
54 session_renewal_timeout: 10
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040055
56worker:
57 time_to_let_leader_update: 5
58 assignments_track_error_to_avoid_flood: 1
59
60leader:
61 workload_track_error_to_prevent_flood: 1
62 members_track_error_to_prevent_flood: 1
Zsolt Haraszti99509d32016-12-10 16:41:45 -080063
64kafka-proxy:
65 event_bus_publisher:
66 topic_mappings:
67 'model-change-events':
68 kafka_topic: 'voltha.events'
69 filters: [null]
70 'alarms':
71 kafka_topic: 'voltha.alarms'
72 filters: [null]
73 'kpis':
74 kafka_topic: 'voltha.kpis'
75 filters: [null]
khenaidoo80a7f572017-04-05 14:17:16 -050076