blob: af7b003f2e7b8ae87f340490b6e4d9beb74f4083 [file] [log] [blame]
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -05001---
2# Copyright 2018 the original author or authors.
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16logging:
17 version: 1
18
19 formatters:
20 brief:
21 format: '%(message)s'
22 default:
23 format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(module)s.%(funcName)s %(message)s'
24 datefmt: '%Y%m%dT%H%M%S'
25
26 handlers:
27 console:
28 class : logging.StreamHandler
29 level: DEBUG
30 formatter: default
31 stream: ext://sys.stdout
32 localRotatingFile:
33 class: logging.handlers.RotatingFileHandler
34 filename: openonu.log
35 formatter: default
36 maxBytes: 2097152
37 backupCount: 10
38 level: DEBUG
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -050039
40 loggers:
Matt Jeanneretf1e9c5d2019-02-08 07:41:29 -050041 conf:
42 propagate: False
43 '': # root logger
44 handlers: [console, localRotatingFile]
45 level: DEBUG # this can be bumped up/down by -q and -v command line
46 # options
47 propagate: False
48
49
50kafka-cluster-proxy:
51 event_bus_publisher:
52 topic_mappings:
53 'model-change-events':
54 kafka_topic: 'voltha.events'
55 filters: [null]
56 'alarms':
57 kafka_topic: 'voltha.alarms'
58 filters: [null]
59 'kpis':
60 kafka_topic: 'voltha.kpis'
61 filters: [null]
62