blob: 88c0b9f187a928107ece6d40e735400a0c7298f8 [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'
10 fluent_fmt:
11 '()': fluent.handler.FluentRecordFormatter
12 format:
13 level: '%(levelname)s'
14 hostname: '%(hostname)s'
15 where: '%(module)s.%(funcName)s'
16
17 handlers:
18 console:
19 class : logging.StreamHandler
khenaidoo686f7bd2017-08-11 11:41:33 -040020 level: INFO
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070021 formatter: default
22 stream: ext://sys.stdout
23 fluent:
24 class: fluent.handler.FluentHandler
25 host: localhost
26 port: 24224
27 tag: voltha.logging
28 formatter: fluent_fmt
khenaidoo686f7bd2017-08-11 11:41:33 -040029 level: INFO
khenaidoo80a7f572017-04-05 14:17:16 -050030 localRotatingFile:
31 class: logging.handlers.RotatingFileHandler
32 filename: voltha.log
33 formatter: default
34 maxBytes: 2097152
35 backupCount: 10
khenaidoo686f7bd2017-08-11 11:41:33 -040036 level: INFO
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070037 null:
38 class: logging.NullHandler
39
40 loggers:
41 amqp:
42 handlers: [null]
43 propagate: False
44 conf:
45 handlers: [null]
46 propagate: False
47 '': # root logger
khenaidoo80a7f572017-04-05 14:17:16 -050048 handlers: [console, fluent, localRotatingFile]
Zsolt Haraszti1420def2016-09-18 00:07:31 -070049 level: INFO # this can be bumped up/down by -q and -v command line
50 # options
Zsolt Harasztic0aa8512016-09-12 23:42:26 -070051 propagate: False
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040052
khenaidoo80a7f572017-04-05 14:17:16 -050053core:
54 management_vlan: 4091
55
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040056coordinator:
57 voltha_kv_prefix: 'service/voltha'
khenaidoo032d3302017-06-09 14:50:04 -040058 core_store_key: 'data/core'
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040059 leader_key: 'leader'
60 membership_key: 'members'
61 assignment_key: 'assignments'
62 workload_key: 'work'
63 membership_watch_relatch_delay: 0.1
khenaidoo686f7bd2017-08-11 11:41:33 -040064 membership_maintenance_loop_delay: 5
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040065 tracking_loop_delay: 1
khenaidoo5431e4c2017-08-17 15:05:40 -040066 session_time_to_live: 60
67 session_renewal_loop_delay: 10
68 session_renewal_timeout: 10
Rouzbahan Rashidi-Tabrizi1c3eba82016-10-27 21:47:18 -040069
70worker:
71 time_to_let_leader_update: 5
72 assignments_track_error_to_avoid_flood: 1
73
74leader:
75 workload_track_error_to_prevent_flood: 1
76 members_track_error_to_prevent_flood: 1
Zsolt Haraszti99509d32016-12-10 16:41:45 -080077
78kafka-proxy:
79 event_bus_publisher:
80 topic_mappings:
81 'model-change-events':
82 kafka_topic: 'voltha.events'
83 filters: [null]
84 'alarms':
85 kafka_topic: 'voltha.alarms'
86 filters: [null]
87 'kpis':
88 kafka_topic: 'voltha.kpis'
89 filters: [null]
khenaidoo80a7f572017-04-05 14:17:16 -050090