Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 1 | logging: |
| 2 | version: 1 |
| 3 | |
| 4 | formatters: |
| 5 | brief: |
| 6 | format: '%(message)s' |
| 7 | default: |
Zsolt Haraszti | cd22adc | 2016-10-25 00:13:06 -0700 | [diff] [blame] | 8 | format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(module)s.%(funcName)s %(message)s' |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 9 | datefmt: '%Y%m%dT%H%M%S' |
khenaidoo | 50b286d | 2018-03-02 17:44:30 -0500 | [diff] [blame] | 10 | |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 11 | handlers: |
| 12 | console: |
| 13 | class : logging.StreamHandler |
khenaidoo | cbff06b | 2017-08-22 16:26:32 -0400 | [diff] [blame] | 14 | level: DEBUG |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 15 | formatter: default |
| 16 | stream: ext://sys.stdout |
khenaidoo | 80a7f57 | 2017-04-05 14:17:16 -0500 | [diff] [blame] | 17 | localRotatingFile: |
| 18 | class: logging.handlers.RotatingFileHandler |
| 19 | filename: voltha.log |
| 20 | formatter: default |
| 21 | maxBytes: 2097152 |
| 22 | backupCount: 10 |
khenaidoo | cbff06b | 2017-08-22 16:26:32 -0400 | [diff] [blame] | 23 | level: DEBUG |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 24 | null: |
| 25 | class: logging.NullHandler |
| 26 | |
| 27 | loggers: |
| 28 | amqp: |
| 29 | handlers: [null] |
| 30 | propagate: False |
| 31 | conf: |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 32 | propagate: False |
| 33 | '': # root logger |
khenaidoo | 50b286d | 2018-03-02 17:44:30 -0500 | [diff] [blame] | 34 | handlers: [console, localRotatingFile] |
Zsolt Haraszti | 1420def | 2016-09-18 00:07:31 -0700 | [diff] [blame] | 35 | level: INFO # this can be bumped up/down by -q and -v command line |
| 36 | # options |
Zsolt Haraszti | c0aa851 | 2016-09-12 23:42:26 -0700 | [diff] [blame] | 37 | propagate: False |
Rouzbahan Rashidi-Tabrizi | 1c3eba8 | 2016-10-27 21:47:18 -0400 | [diff] [blame] | 38 | |
khenaidoo | 80a7f57 | 2017-04-05 14:17:16 -0500 | [diff] [blame] | 39 | core: |
| 40 | management_vlan: 4091 |
| 41 | |
Rouzbahan Rashidi-Tabrizi | 1c3eba8 | 2016-10-27 21:47:18 -0400 | [diff] [blame] | 42 | coordinator: |
| 43 | voltha_kv_prefix: 'service/voltha' |
khenaidoo | 032d330 | 2017-06-09 14:50:04 -0400 | [diff] [blame] | 44 | core_store_key: 'data/core' |
Rouzbahan Rashidi-Tabrizi | 1c3eba8 | 2016-10-27 21:47:18 -0400 | [diff] [blame] | 45 | leader_key: 'leader' |
| 46 | membership_key: 'members' |
| 47 | assignment_key: 'assignments' |
| 48 | workload_key: 'work' |
| 49 | membership_watch_relatch_delay: 0.1 |
khenaidoo | 686f7bd | 2017-08-11 11:41:33 -0400 | [diff] [blame] | 50 | membership_maintenance_loop_delay: 5 |
Rouzbahan Rashidi-Tabrizi | 1c3eba8 | 2016-10-27 21:47:18 -0400 | [diff] [blame] | 51 | tracking_loop_delay: 1 |
khenaidoo | 5431e4c | 2017-08-17 15:05:40 -0400 | [diff] [blame] | 52 | session_time_to_live: 60 |
| 53 | session_renewal_loop_delay: 10 |
| 54 | session_renewal_timeout: 10 |
Rouzbahan Rashidi-Tabrizi | 1c3eba8 | 2016-10-27 21:47:18 -0400 | [diff] [blame] | 55 | |
| 56 | worker: |
| 57 | time_to_let_leader_update: 5 |
| 58 | assignments_track_error_to_avoid_flood: 1 |
| 59 | |
| 60 | leader: |
| 61 | workload_track_error_to_prevent_flood: 1 |
| 62 | members_track_error_to_prevent_flood: 1 |
Zsolt Haraszti | 99509d3 | 2016-12-10 16:41:45 -0800 | [diff] [blame] | 63 | |
| 64 | kafka-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] |
khenaidoo | 80a7f57 | 2017-04-05 14:17:16 -0500 | [diff] [blame] | 76 | |