Zack Williams | 998f442 | 2018-09-19 10:38:57 -0700 | [diff] [blame] | 1 | --- |
| 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 | |
khenaidoo | b920354 | 2018-09-17 22:56:37 -0400 | [diff] [blame] | 16 | logging: |
| 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: ponsim_onu.log |
| 35 | formatter: default |
| 36 | maxBytes: 2097152 |
| 37 | backupCount: 10 |
| 38 | level: DEBUG |
| 39 | null: |
| 40 | class: logging.NullHandler |
| 41 | |
| 42 | loggers: |
| 43 | amqp: |
| 44 | handlers: [null] |
| 45 | propagate: False |
| 46 | conf: |
| 47 | propagate: False |
| 48 | '': # root logger |
| 49 | handlers: [console, localRotatingFile] |
| 50 | level: DEBUG # this can be bumped up/down by -q and -v command line |
| 51 | # options |
| 52 | propagate: False |
| 53 | |
| 54 | |
| 55 | kafka-cluster-proxy: |
| 56 | event_bus_publisher: |
| 57 | topic_mappings: |
| 58 | 'model-change-events': |
| 59 | kafka_topic: 'voltha.events' |
| 60 | filters: [null] |
| 61 | 'alarms': |
| 62 | kafka_topic: 'voltha.alarms' |
| 63 | filters: [null] |
| 64 | 'kpis': |
| 65 | kafka_topic: 'voltha.kpis' |
| 66 | filters: [null] |
| 67 | |