blob: 783b0710a6ea43fb0a1b49ef497bc70473c74432 [file] [log] [blame]
Zack Williams55b456e2018-11-03 20:08:53 -07001---
2# Copyright 2017-present Open Networking Foundation
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
16version: 1
17
18formatters:
19 brief:
20 format: '%(message)s'
21 default:
22 format: '%(asctime)s.%(msecs)03d %(levelname)-8s %(threadName)s %(module)s.%(funcName)s %(message)s'
23 datefmt: '%Y%m%dT%H%M%S'
24
25handlers:
26 console:
27 class : logging.StreamHandler
28 level: DEBUG
29 formatter: default
30 stream: ext://sys.stdout
31 localRotatingFile:
32 class: logging.handlers.RotatingFileHandler
33 filename: voltha.log
34 formatter: default
35 maxBytes: 2097152
36 backupCount: 10
37 level: DEBUG
38 null:
39 class: logging.NullHandler
40
41loggers:
42 amqp:
43 handlers: [null]
44 propagate: False
45 conf:
46 propagate: False
47 '': # root logger
48 handlers: [console, localRotatingFile]
49 level: INFO # this can be bumped up/down by -q and -v command line
50 # options
51 propagate: False